1--TEST--
2Test get_parent_class() function : variation - case sensitivity
3--FILE--
4<?php
5/* Prototype  : proto string get_parent_class([mixed object])
6 * Description: Retrieves the parent class name for object or class or current scope.
7 * Source code: Zend/zend_builtin_functions.c
8 * Alias to functions:
9 */
10
11//  Note: basic use cases in Zend/tests/010.phpt
12
13echo "*** Testing get_parent_class() : variation ***\n";
14
15class caseSensitivityTest {}
16class caseSensitivityTestChild extends caseSensitivityTest {}
17
18var_dump(get_parent_class('CasesensitivitytestCHILD'));
19var_dump(get_parent_class(new CasesensitivitytestCHILD));
20
21echo "Done";
22?>
23--EXPECTF--
24*** Testing get_parent_class() : variation ***
25string(19) "caseSensitivityTest"
26string(19) "caseSensitivityTest"
27Done
28