|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-11-25 00:27 UTC] scott at yahoo dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 27 22:00:01 2025 UTC |
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