xref: /PHP-7.0/Zend/tests/bug54585.phpt (revision e510daf2)
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--
14Notice: Undefined variable: cos in %sbug54585.php on line 3
15ok
16