Category: PHP, javascript

· September 28, 2020 · ⋆ PHP Remember arrow functions which were released way back with PHP 7.4?

Well, for reasons similar to above, this RFC can bring short functions to PHP 8.1 if accepted.

And lastly, as you can return any expression from the short function, you could also use match expressions in conjunction with short function like so.

Get the latest articles delivered right to your inbox (I swear I won't spam) Short functions could be coming in PHP 8.1 Import and export only a function under namespace in PHP Prevent spammy form submissions by bots using this Honeypot technique in PHP Expose your local websites to the internet using this open source tool in PHP Accessing private methods and properties outside of class using reflection in PHP Short functions could be coming in PHP 8.1 Laravel Ecosystem Jargon Catchable queued closures in Laravel 8 Import and export only a function under namespace in PHP How to pull GitHub repositories as Composer packages in PHP
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners