1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 07:58:20 +02:00
Files
archived-php-src/Zend/tests/unset_cv12.phpt
T
Dmitry Stogov 804e3b4f5b Fixed SIGSEGV
2005-10-27 19:25:07 +00:00

12 lines
176 B
PHP
Executable File

--TEST--
unset() CV 12 (unset() in indirect called function)
--FILE--
<?php
$x = 1;
function foo() {unset($GLOBALS["x"]);}
call_user_func("foo");
echo "ok\n";
?>
--EXPECT--
ok