dis-bench / src /php /php-src /tests /strings /offsets_chaining_1.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
150 Bytes
--TEST--
testing the behavior of string offset chaining
--FILE--
<?php
$string = "foobar";
var_dump($string[0][0][0][0]);
?>
--EXPECT--
string(1) "f"