Edit report at http://bugs.php.net/bug.php?id=52837&edit=1
ID: 52837 Updated by: ahar...@php.net Reported by: frankyue1019 at gmail dot com Summary: function implode can't do well with character '&' -Status: Open +Status: Bogus Type: Bug Package: Strings related Operating System: ubuntu 10.04 PHP Version: 5.2SVN-2010-09-14 (SVN) Block user comment: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2010-09-14 11:09:13] frankyue1019 at gmail dot com Description: ------------ <?php $array = array('lastname', 'email', 'phone'); $comma_separated = implode('&',$array); echo strlen($comma_separated); echo $comma_separated; ?> Expected result: ---------------- web should print this: 20lastname&email&phone Actual result: -------------- web just print this: 20lastname&email ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52837&edit=1