summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2006-03-03 13:09:13 +0000
committerDmitry Stogov <dmitry@php.net>2006-03-03 13:09:13 +0000
commit2a2050d4e38ae1a19975aecca788af225cd5a4f3 (patch)
treed1c8c69c2926c8d72d58f765b71b69d11c65594b /NEWS
parentbfe01c2c1791007623e438d3afe287ec604b37f0 (diff)
downloadphp-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--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 4b8bcbb44d..b20bac0b77 100644
--- a/NEWS
+++ b/NEWS
@@ -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()