bug76463.phpt 282 B

12345678910111213141516171819
  1. --TEST--
  2. Bug #76463 (var has array key type but not value type)
  3. --INI--
  4. opcache.enable=1
  5. opcache.enable_cli=1
  6. opcache.optimization_level=-1
  7. --EXTENSIONS--
  8. opcache
  9. --FILE--
  10. <?php
  11. function test() {
  12. $old_data = isset($old_data) ? (array)$old_data : [];
  13. }
  14. ?>
  15. okey
  16. --EXPECT--
  17. okey