summaryrefslogtreecommitdiff
path: root/ext/standard/tests/class_object/get_class_methods_variation_002.phpt
blob: 4e5fb30b52ff2ca3ae266fa2f1cdf87f58efbb8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--TEST--
Test get_class_methods() function : usage variations  - case sensitivity
--FILE--
<?php
/* Prototype  : proto array get_class_methods(mixed class)
 * Description: Returns an array of method names for class or class instance.
 * Source code: Zend/zend_builtin_functions.c
 * Alias to functions:
 */

echo "*** Testing get_class_methods() : usage variations ***\n";

class caseSensitivityTest {
	function MyMeThOd() {}
}

var_dump( get_class_methods('CasesensitivitytesT') );

echo "Done";
?>
--EXPECTF--
*** Testing get_class_methods() : usage variations ***
array(1) {
  [0]=>
  string(8) "MyMeThOd"
}
Done