|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-12-20 15:53 UTC] derick@php.net
[2004-12-20 16:17 UTC] public at woktiny dot com
[2004-12-20 16:21 UTC] derick@php.net
[2004-12-20 16:25 UTC] public at woktiny dot com
[2004-12-20 16:29 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 07:00:01 2025 UTC |
Description: ------------ foreach treats atomic array Elements as Arrays Reproduce code: --------------- $i = array("one", "two", "three"); foreach ($i as $j) { echo $j."<br>"; } Expected result: ---------------- one two three Actual result: -------------- Array Array Array