xref: /PHP-8.2/Zend/tests/unset_cv03.phpt (revision 36935e42)
1--TEST--
2unset() CV 3 (unset() global variable in included file)
3--FILE--
4<?php
5$x = "ok\n";
6echo $x;
7include "unset.inc";
8echo $x;
9?>
10--EXPECTF--
11ok
12
13Warning: Undefined variable $x in %s on line %d
14