php-src/Zend/tests/unset_cv12.phpt
2005-10-27 19:25:52 +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