]> granicus.if.org Git - php/commitdiff
Further testing on this feature should have been done...
authorMoriyoshi Koizumi <moriyoshi@php.net>
Thu, 6 Mar 2003 19:37:19 +0000 (19:37 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Thu, 6 Mar 2003 19:37:19 +0000 (19:37 +0000)
tests/lang/bug19943.phpt

index 63f8008eaae3e235d172e69fed27a45a5de608cd..eda98d4d8409fd93e220416db1f91ad4dc14d05b 100644 (file)
@@ -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"