xref: /PHP-8.2/Zend/tests/class_exists_002.phpt (revision b10416a6)
1--TEST--
2Testing several valid and invalid parameters
3--FILE--
4<?php
5
6class foo {
7
8}
9
10var_dump(class_exists(''));
11var_dump(class_exists('FOO'));
12var_dump(class_exists('bar'));
13var_dump(class_exists(1));
14
15?>
16--EXPECT--
17bool(false)
18bool(true)
19bool(false)
20bool(false)
21