mirror of
https://github.com/php/php-src.git
synced 2024-10-16 14:02:37 +00:00
f6cc4ee4df
- Tony has a patch that should fix all these
19 lines
406 B
PHP
19 lines
406 B
PHP
--TEST--
|
|
Test class_exists() function : usage variations - case sensitivity
|
|
--FILE--
|
|
<?php
|
|
/* Prototype : proto bool class_exists(string classname [, bool autoload])
|
|
* Description: Checks if the class exists
|
|
* Source code: Zend/zend_builtin_functions.c
|
|
* Alias to functions:
|
|
*/
|
|
|
|
class caseSensitivityTest {}
|
|
var_dump(class_exists('casesensitivitytest'));
|
|
|
|
echo "Done"
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|
|
Done
|