diff options
author | Dmitry Stogov <dmitry@php.net> | 2006-03-03 13:09:13 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2006-03-03 13:09:13 +0000 |
commit | 2a2050d4e38ae1a19975aecca788af225cd5a4f3 (patch) | |
tree | d1c8c69c2926c8d72d58f765b71b69d11c65594b /NEWS | |
parent | bfe01c2c1791007623e438d3afe287ec604b37f0 (diff) | |
download | php-git-2a2050d4e38ae1a19975aecca788af225cd5a4f3.tar.gz |
Added support for "continue" and "break" operators with labels. Each loop or switch statement can be marked by label and then it is possible to write "break <label>" instead of "break <number>".
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,6 +6,9 @@ PHP NEWS for more details. (Dmitry) - Removed support for "continue" and "break" operators with non-constant operands. (Dmitry) +- Added support for "continue" and "break" operators with labels. Each loop or + switch statement can be marked by label and then it is possible to write + "break <label>" instead of "break <number>". (Dmitry, Sara) - Changed __toString() behavior to call it in all necessary places (Marcus, Dmitry) - Changed "instanceof" and "catch" operators, is_a() and is_subclass_of() |