xref: /PHP-8.2/Zend/tests/unset_cv12.phpt (revision 610c7fbe)
1--TEST--
2unset() CV 12 (unset() in indirect called function)
3--FILE--
4<?php
5$x = 1;
6function foo() {unset($GLOBALS["x"]);}
7call_user_func("foo");
8echo "ok\n";
9?>
10--EXPECT--
11ok
12