|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-11-26 17:28 UTC] cappytoi at yahoo dot com
[2007-11-27 13:05 UTC] jani@php.net
[2007-11-27 14:00 UTC] cappytoi at yahoo dot com
[2007-11-27 14:08 UTC] cappytoi at yahoo dot com
[2007-11-27 14:12 UTC] cappytoi at yahoo dot com
[2007-11-27 14:19 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 06:00:01 2025 UTC |
Description: ------------ Hi, I have found the following problem. I try to produce a query string and I found that using lang as a key makes problem with implode. Reproduce code: --------------- <?php $all = array( 'turkce', 'english', 'german' ); $t = array(); foreach ($all as $al) { $t[] = 'lang[]='.$al; } echo implode('&',$t); ?> Expected result: ---------------- lang[]=turkce&lang[]=english&lang[]=german Actual result: -------------- lang[]=turkce〈[]=english〈[]=german