summaryrefslogtreecommitdiff
path: root/ext/standard/tests/class_object/class_exists_variation_003.phpt
blob: 3aa16e21ad004e62044854f27cec1b2cd0ec846f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--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"
?>
--EXPECTF--
bool(true)
Done