Bug #2873: explode not working

From: Date: Tue, 30 Nov 1999 14:47:28 +0000
Subject: Bug #2873: explode not working
Groups: php.dev 
Request: Send a blank email to php-dev+get-13296@lists.php.net to get a copy of this message
From: mwright29@hotmail.com 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

« previous php.dev (#13296) next »