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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners