bug54585.phpt 326 B

1234567891011121314151617
  1. --TEST--
  2. Bug #54585 (track_errors causes segfault)
  3. --INI--
  4. track_errors=On
  5. --FILE--
  6. <?php
  7. function testing($source) {
  8. unset($source[$cos]);
  9. }
  10. testing($_GET);
  11. echo "ok\n";
  12. ?>
  13. --EXPECTF--
  14. Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
  15. Notice: Undefined variable: cos in %sbug54585.php on line 3
  16. ok