diff options
| author | Andi Gutmans <andi@php.net> | 1999-04-08 04:11:23 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 1999-04-08 04:11:23 +0000 |
| commit | 893160fcbe44ab38c3be353655505c242c07dabe (patch) | |
| tree | 598b02d211a026df76335671cbcf8abf04debd71 | |
| parent | 135da4b4fc33188bf576eadb0caecee2bb315895 (diff) | |
| download | php-git-893160fcbe44ab38c3be353655505c242c07dabe.tar.gz | |
foreach() syntax has changed
| -rw-r--r-- | Zend/ZEND_CHANGES | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/ZEND_CHANGES b/Zend/ZEND_CHANGES index 7ebb7e4afe..0c144e2d5c 100644 --- a/Zend/ZEND_CHANGES +++ b/Zend/ZEND_CHANGES @@ -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() |
