<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>PHP 7.4 からアロー関数 (Arrow Function) が使えるようになっていたので触って見たメモ Arrow Function 書式 fn(argument) =&gt; expr JavaScript のアロー関数との違い fn キーワードが必要 処理部分は { } で囲ったブロックが使えない 文末の ; は必須 &lt;?php declare(strict_types=1); $fn = fn(int $x, int $y):int =&gt; $x + $y; echo $fn(1, 2); // =&gt; 3 処理部分にブロックが使えない &lt;?php declare(strict_types=…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2023%2F01%2F23%2F130000&quot; title=&quot;PHP もアロー関数書けたのですね！ - かもメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://m.media-amazon.com/images/I/610GRoj426L._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-01-23 13:00:00</published>
  <title>PHP もアロー関数書けたのですね！</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2023/01/23/130000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
