xref: /PHP-8.4/Zend/tests/frameless_jmp_004.phpt (revision e5f4cdd6)
1--TEST--
2Frameless jmp
3--FILE--
4<?php
5namespace Foo;
6function declare_local_class_exists() {
7    function class_exists() {
8        var_dump(__FUNCTION__);
9        return true;
10    }
11}
12declare_local_class_exists();
13var_dump(CLASS_EXISTS('Foo'));
14?>
15--EXPECT--
16string(16) "Foo\class_exists"
17bool(true)
18