CVS update: phpdoc/functions
| From: | jim | Date: | Wed, 23 Jun 1999 21:56:02 +0000 |
| Subject: | CVS update: phpdoc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7485@lists.php.net to get a copy of this message | ||
Date: Wednesday June 23, 1999 @ 17:56
Author: jim
Update of /repository/phpdoc/functions
In directory php:/tmp/cvs-serv14772/functions
Modified Files:
array.sgml
Log Message:
Fix example.
Index: phpdoc/functions/array.sgml
diff -u phpdoc/functions/array.sgml:1.2 phpdoc/functions/array.sgml:1.3
--- phpdoc/functions/array.sgml:1.2 Sat Jun 19 23:04:55 1999
+++ phpdoc/functions/array.sgml Wed Jun 23 17:56:02 1999
@@ -621,7 +621,7 @@
<programlisting>
$fruits = array("lemon","orange","banana","apple");
rsort($fruits);
- for(reset($fruits); ($key,$value) = each($fruits); ) {
+ for(reset($fruits); list($key,$value) = each($fruits); ) {
echo "fruits[$key] = ".$value."\n";
}
</programlisting></example>