php-src/Zend/tests/bug54585.phpt
2017-02-03 21:02:52 +01:00

18 lines
326 B
PHP

--TEST--
Bug #54585 (track_errors causes segfault)
--INI--
track_errors=On
--FILE--
<?php
function testing($source) {
unset($source[$cos]);
}
testing($_GET);
echo "ok\n";
?>
--EXPECTF--
Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
Notice: Undefined variable: cos in %sbug54585.php on line 3
ok