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