<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Arrow Functions on BradCypert.com</title>
    <link>https://www.bradcypert.com/tags/arrow-functions/</link>
    <description>Recent content in Arrow Functions on BradCypert.com</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 06 May 2025 20:03:40 -0400</lastBuildDate>
    <atom:link href="https://www.bradcypert.com/tags/arrow-functions/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Arrow Functions in PHP 7.4&#43;</title>
      <link>https://www.bradcypert.com/arrow-functions-in-php-7-4/</link>
      <pubDate>Tue, 31 Mar 2020 00:00:00 +0000</pubDate>
      <guid>https://www.bradcypert.com/arrow-functions-in-php-7-4/</guid>
      <description>&lt;p&gt;PHP is finally getting arrow functions (also known as Short Closures)! I know, I know. I’m just as excited as you are. Here’s everything you need to know about arrow functions in PHP.&lt;/p&gt;&#xA;&lt;p&gt;First, arrow functions are an approved RFC for PHP 7.4. If you’re using a version of PHP that’s lower than 7.4, you won’t be able to use arrow functions.&lt;/p&gt;&#xA;&lt;p&gt;Second, arrow functions can only contain one single expression. The goal with arrow functions (&lt;a href=&#34;https://wiki.php.net/rfc/arrow_functions_v2&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;as stated in the RFC&lt;/a&gt;&#xA;) is to help reduce verbosity and multi-line arrow functions are likely to cause more confusion than classic anonymous functions.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
