[PHP-DEV] Bug #13347: Implode on $foo[] instead of $foo seems to make PHP give up From: alester <email protected>
Date: 09/17/01

From: alester <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>