xref: /PHP-8.1/ext/spl/tests/bug52339.phpt (revision 8023204d)
1--TEST--
2Bug #52339: SPL autoloader breaks class_exists()
3--FILE--
4<?php
5var_dump(class_exists('asdfasdf'));
6spl_autoload_register();
7var_dump(class_exists('asdfasdf'));
8?>
9--EXPECT--
10bool(false)
11bool(false)
12