|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-02-14 12:01 UTC] moriyoshi@php.net
[2003-02-14 12:06 UTC] moriyoshi@php.net
[2003-02-14 12:45 UTC] moriyoshi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
implode seems to change object references in the given array to strings. try this: <?php class a { function b() { return true; } } $a1 = new a(); $a2 = new a(); $arr = array(); $arr[0] =& $a1; $arr[1] =& $a2; echo implode(",",$arr); echo $arr[0]->b(); // ERROR! ?>