|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-06-23 17:39 UTC] andrey at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 05:00:01 2025 UTC |
This is the example code for rsort: $fruits = array("lemon","orange","banana","apple"); rsort($fruits); for(reset($fruits); ($key,$value) = each($fruits); ) { echo "fruits[$key] = ".$value."\n"; } When I tried this I got the following error: Parse error: parse error in /home/www/htdocs/test.php3 on line 6 Sorry. But I have no idea what causes this problem. I began learning PHP3 today... =) (...and I'm allready reporting bugs :)