offsets_chaining_2.phpt 195 B

1234567891011
  1. --TEST--
  2. testing the behavior of string offset chaining
  3. --INI--
  4. error_reporting=E_ALL | E_DEPRECATED
  5. --FILE--
  6. <?php
  7. $string = "foobar";
  8. var_dump($string{0}{0}[0][0]);
  9. ?>
  10. --EXPECT--
  11. string(1) "f"