mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
foreach() syntax has changed
This commit is contained in:
parent
135da4b4fc
commit
893160fcbe
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ features:
|
|||
explanation - you can now call functions before they're declared!
|
||||
* Added here-docs support.
|
||||
* Added foreach. Two syntaxes supported:
|
||||
foreach($val in array_expr) statement
|
||||
foreach($key, $val in array_expr) statement
|
||||
foreach(array_expr as $val) statement
|
||||
foreach(array_expr as $key => $val) statement
|
||||
* A true unset() implementation. A variable or element that is unset(), is now
|
||||
sent to oblivion in its entirely, no trace remains from it.
|
||||
* Output buffering support! Use ob_start() to begin output buffering, ob_end_flush()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue