|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-23 14:37 UTC] sniper@php.net
[2001-06-27 11:41 UTC] zeev@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 07:00:01 2025 UTC |
array: $foo = array("bar"); echo $foo[0]; // correct echo $foo[1]; // warnning string?: $foo = "bar"; // 0-b 1-a 3-r echo $foo[0]; // correct echo $foo[4]; // no warnning? safe: $foo = "bar"; // 0-b 1-a 3-r echo $foo; // all rignts $foo[1] = ""; crash in win2k: $foo = "bar"; // 0-b 1-a 3-r echo $foo[0]; echo $foo[4]; // no warnning $foo[1] = $foo[4]; // no warnning echo $foo; // crash! memory cannot be "written"