Den tor. 5. jul. 2018 kl. 00.15 skrev Yasuo Ohgaki <yohg...@ohgaki.net>: > Since the issue is incompatibility between current "continue" and "break", > how about provide a tool replace "continue" to "break" where it is > applicable. > (Raise error for invalid "continue" usage also. This would be a bug most > likely.) > > Then there wouldn't be compatibility issue anymore.
I like the idea of a tool for such, but I think its better to implement it in some of the static analyzer projects like PHPStan and the like to catch these. -- regards, Kalle Sommer Nielsen ka...@php.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php