Bug #1878: array does not work

From: Date: Mon, 26 Jul 1999 14:11:40 +0000
Subject: Bug #1878: array does not work
Groups: php.dev 
Request: Send a blank email to php-dev+get-9165@lists.php.net to get a copy of this message
From: frank@freestyling.de Operating system: freebsd 3.0 PHP version: 3.0.11 PHP Bug Type: Documentation problem Bug description: array does not work $fruits = array("lemon","orange","banana","apple"); sort($fruits); for(reset($fruits); $key = key($fruits); next($fruits)) { echo "fruits[$key] = ".$fruits[$key]."\n"; } does not work !!!! there is no ouput !!! ++ plus the FAQ on www.php3.de is not correctly displayed <b>Fatal error</b>: Call to unsupported or undefined function set_magic_quotes_runtime() in <b>/home/pages/php3.de/phpweb/FAQ.php3</b> on line <b>9</b><br>

« previous php.dev (#9165) next »