php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2873 explode not working
Submitted: 1999-11-30 15:47 UTC Modified: 1999-11-30 16:00 UTC
From: mwright29 at hotmail dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.12 OS: RedHat Linux 6.0
Private report: No CVE-ID: None
 [1999-11-30 15:47 UTC] mwright29 at hotmail dot com
 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-25 00:27 UTC] scott at yahoo dot com
what the f does this mean - why doesn't it work???
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC