php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63408 implode bug
Submitted: 2012-11-01 06:33 UTC Modified: 2012-11-01 06:38 UTC
From: oxconcise at hotmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: Irrelevant OS: Windows Vista
Private report: No CVE-ID: None
 [2012-11-01 06:33 UTC] oxconcise at hotmail dot com
Description:
------------
PHP 5.4.4

$b = array("one", "two", "three");
echo implode('<', $b);

outputs "one" 

Test script:
---------------
$b = array("one", "two", "three");
echo implode('<', $b);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-01 06:38 UTC] aharvey@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

You are presumably outputting HTML, and your browser is treating the first < as the start of a HTML tag.
 [2012-11-01 06:38 UTC] aharvey@php.net
-Status: Open +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 17:01:34 2024 UTC