1--TEST--
2Test is_a() function : usage variations  - case sensitivity
3--INI--
4error_reporting=E_ALL | E_STRICT | E_DEPRECATED
5--FILE--
6<?php
7/* Prototype  : proto bool is_a(object object, string class_name)
8 * Description: Returns true if the object is of this class or has this class as one of its parents
9 * Source code: Zend/zend_builtin_functions.c
10 * Alias to functions:
11 */
12
13echo "*** Testing is_a() : usage variations ***\n";
14
15class caseSensitivityTest {}
16class caseSensitivityTestChild extends caseSensitivityTest {}
17
18var_dump(is_a(new caseSensitivityTestChild, 'caseSensitivityTEST'));
19
20echo "Done";
21?>
22--EXPECTF--
23*** Testing is_a() : usage variations ***
24bool(true)
25Done
26