{"author_url":"https://blog.hatena.ne.jp/kikiki-kiki/","blog_url":"https://chaika.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2023%2F01%2F23%2F130000\" title=\"PHP \u3082\u30a2\u30ed\u30fc\u95a2\u6570\u66f8\u3051\u305f\u306e\u3067\u3059\u306d\uff01 - \u304b\u3082\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"kikiki-kiki","url":"https://chaika.hatenablog.com/entry/2023/01/23/130000","provider_url":"https://hatena.blog","description":"PHP 7.4 \u304b\u3089\u30a2\u30ed\u30fc\u95a2\u6570 (Arrow Function) \u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u89e6\u3063\u3066\u898b\u305f\u30e1\u30e2 Arrow Function \u66f8\u5f0f fn(argument) => expr JavaScript \u306e\u30a2\u30ed\u30fc\u95a2\u6570\u3068\u306e\u9055\u3044 fn \u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u5fc5\u8981 \u51e6\u7406\u90e8\u5206\u306f { } \u3067\u56f2\u3063\u305f\u30d6\u30ed\u30c3\u30af\u304c\u4f7f\u3048\u306a\u3044 \u6587\u672b\u306e ; \u306f\u5fc5\u9808 <?php declare(strict_types=1); $fn = fn(int $x, int $y):int => $x + $y; echo $fn(1, 2); // => 3 \u51e6\u7406\u90e8\u5206\u306b\u30d6\u30ed\u30c3\u30af\u304c\u4f7f\u3048\u306a\u3044 <?php declare(strict_types=\u2026","width":"100%","title":"PHP \u3082\u30a2\u30ed\u30fc\u95a2\u6570\u66f8\u3051\u305f\u306e\u3067\u3059\u306d\uff01","blog_title":"\u304b\u3082\u30e1\u30e2","version":"1.0","type":"rich","image_url":"https://m.media-amazon.com/images/I/610GRoj426L._SL500_.jpg","categories":["PHP"],"provider_name":"Hatena Blog","published":"2023-01-23 13:00:00","height":"190"}