[PHP-DEV] Bug #2873: explode not working From: mwright29 <email protected>
Date: 11/30/99

From: mwright29 <email protected>
Operating system: RedHat Linux 6.0
PHP version: 3.0.12
PHP Bug Type: Misbehaving function
Bug description: explode not working

 Description:
When this script runs, it only returns the word "Array" when it echoes $pieces. This is the exact code from the explode function documentation on the php.net website. I tried using explode to break up a search string and when it didn't work, I tried this.

 Script:
<html>
<body>
<?
$pizza = "piece1 piece2 piece3 piece4 piece5 piece6";
$pieces = explode(" ", $pizza);
echo $pieces;
?>
</body>
</html>

 Configure line:
./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars --disable-gd

-- 
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>