and_001.phpt 280 B

1234567891011121314151617
  1. --TEST--
  2. JIT BW_AND: 001 (emty string)
  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. $a = [];
  11. $b = "";
  12. $a["" & $b] *= 3;
  13. ?>
  14. DONE
  15. --EXPECTF--
  16. Warning: Undefined array key "" in %sand_001.php on line 4
  17. DONE