[php-src] PR #17647: feat: make `break`, `continue` and `return` be an expression
| From: | xepozz | Date: | Fri, 31 Jan 2025 05:32:20 +0000 |
| Subject: | [php-src] PR #17647: feat: make `break`, `continue` and `return` be an expression | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30604@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17647
Author: xepozz
Hi!
Long time playing with Kotlin and I like how
break, continue and
return works there.
Tried to implement such features in PHP. Not sure about how correct implementation, but did almost
the same as in 0810fcd0d0eb907b79b9619f73dc7d13aed5c611
I'll try to create RFC a bit later, but now we can discuss the idea.