Bug #1918: array_walk doesn't pass value to function?

From: Date: Thu, 29 Jul 1999 08:55:23 +0000
Subject: Bug #1918: array_walk doesn't pass value to function?
Groups: php.dev 
Request: Send a blank email to php-dev+get-9307@lists.php.net to get a copy of this message
From: steveda-php@haagen-dazs.org Operating system: FreeBSD 3.2-RELEASE PHP version: 4.0b1 PHP Bug Type: Parser error Bug description: array_walk doesn't pass value to function? The script below works fine with Php php-3.0.11 but with 4.0b1 i simply get.. Letter <br> Letter <br> Letter <br> as the output <? $letters = array("a","b","c"); function thingymajig( $thingy ) { echo "Letter $thingy<br>\n"; } array_walk( $letters, 'thingymajig' ); ?> Php was configured using.. ./configure --with-mysql --with-apache=../apache_1.3.6 --with-gd=/usr/local --enable-track-var

« previous php.dev (#9307) next »