note 45633 added to function.reset
| From: | j dot gizmo at aon dot at | Date: | Mon, 13 Sep 2004 14:24:46 +0000 |
| Subject: | note 45633 added to function.reset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-76614@lists.php.net to get a copy of this message | ||
about the example below, with reset & foreach: reset is a function and thus requires
parantheses.
<?php
reset ($array); //works
reset $array; //doesn't work
php?>
----
Manual Page -- http://www.php.net/manual/en/function.reset.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45633
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45633&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45633&report=yes
Search -- http://master.php.net/manage/user-notes.php