Hi,
Thinking about it some more, I think we can go even further than that
and actually implement defer (enjoying the code golf)!
Dropping this here, just in case :)
https://github.com/php-defer/php-defer
From the posts on this thread (and the star count on php-defer), it
seems there is indeed some interest in a defer keyword for PHP, might
actually get to writing an RFC implementing the keyword itself this
weekend...
Regards,
Daniil Gentili.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php