1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00
Files
archived-php-src/ext/standard/tests/class_object/class_exists_variation_003.phpt
T
Gabriel Caruso ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00

18 lines
405 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