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