isset_001.phpt 312 B

1234567891011121314151617
  1. --TEST--
  2. ISSET_ISEMPTY_DIM with undefined variable
  3. --INI--
  4. opcache.enable=1
  5. opcache.enable_cli=1
  6. opcache.file_update_protection=0
  7. opcache.jit_buffer_size=1M
  8. --FILE--
  9. <?php
  10. function test() {
  11. var_dump(isset($a[$undef]));
  12. }
  13. test();
  14. ?>
  15. --EXPECTF--
  16. Warning: Undefined variable $undef in %s on line %d
  17. bool(false)