From: Moriyoshi Koizumi Date: Thu, 6 Mar 2003 19:37:19 +0000 (+0000) Subject: Further testing on this feature should have been done... X-Git-Tag: RELEASE_0_5~584 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d40fe2222f6b252423f3a1965f82104ba59a504;p=php Further testing on this feature should have been done... --- diff --git a/tests/lang/bug19943.phpt b/tests/lang/bug19943.phpt index 63f8008eaa..eda98d4d84 100644 --- a/tests/lang/bug19943.phpt +++ b/tests/lang/bug19943.phpt @@ -11,6 +11,9 @@ Bug #19566 (memleaks) for ($count = 0; $count < 10; $count++) { echo $ar[$count]." -- ".$ar[$count]['idx']."\n"; } + $a = "0123456789"; + $a[9] = $a{0}; + var_dump($a); ?> --EXPECT-- 0 -- 0 @@ -23,3 +26,4 @@ Bug #19566 (memleaks) 7 -- 7 8 -- 8 9 -- 9 +string(10) "0123456780"