Bug #13347: Implode on $foo[] instead of $foo seems to make PHP give up

From: Date: Mon, 17 Sep 2001 14:26:02 +0000
Subject: Bug #13347: Implode on $foo[] instead of $foo seems to make PHP give up
Groups: php.dev 
Request: Send a blank email to php-dev+get-66118@lists.php.net to get a copy of this message
From: alester@flr.follett.com Operating system: Solaris 7 PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: Implode on $foo[] instead of $foo seems to make PHP give up Note the implode. $foo[] should be $foo, but PHP doesn't give an error. It just gives no output. I don't find anything in my php.err log, either. #!/usr/local/bin/php -q <?php $foo = Array( "This", "That", "The other" ); print "Before the implode\n"; print implode( ",", $foo[] ); print "\n"; print "After the implode\n"; ?> -- Edit bug report at: http://bugs.php.net/?id=13347&edit=1

« previous php.dev (#66118) next »