Lines Matching refs:class_exists
2 Test class_exists() function : basic functionality
5 /* Prototype : proto bool class_exists(string classname [, bool autoload])
11 echo "*** Testing class_exists() : basic functionality ***\n";
17 echo "Calling class_exists() on non-existent class with autoload explicitly enabled:\n";
18 var_dump( class_exists('C', true) );
19 echo "\nCalling class_exists() on existing class with autoload explicitly enabled:\n";
20 var_dump( class_exists('stdclass', true) );
22 echo "\nCalling class_exists() on non-existent class with autoload explicitly enabled:\n";
23 var_dump( class_exists('D', false) );
24 echo "\nCalling class_exists() on existing class with autoload explicitly disabled:\n";
25 var_dump( class_exists('stdclass', false) );
27 echo "\nCalling class_exists() on non-existent class with autoload unspecified:\n";
28 var_dump( class_exists('E') );
29 echo "\nCalling class_exists() on existing class with autoload unspecified:\n";
30 var_dump( class_exists('stdclass') );
35 *** Testing class_exists() : basic functionality ***
36 Calling class_exists() on non-existent class with autoload explicitly enabled:
40 Calling class_exists() on existing class with autoload explicitly enabled:
43 Calling class_exists() on non-existent class with autoload explicitly enabled:
46 Calling class_exists() on existing class with autoload explicitly disabled:
49 Calling class_exists() on non-existent class with autoload unspecified:
53 Calling class_exists() on existing class with autoload unspecified: