Annotation of embedaddon/php/ext/standard/tests/class_object/get_class_variation_002.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Test get_class() function : usage variations - ensure class name case is preserved.
! 3: --FILE--
! 4: <?php
! 5: /* Prototype : proto string get_class([object object])
! 6: * Description: Retrieves the class name
! 7: * Source code: Zend/zend_builtin_functions.c
! 8: * Alias to functions:
! 9: */
! 10:
! 11: class caseSensitivityTest {}
! 12: var_dump(get_class(new casesensitivitytest));
! 13:
! 14: echo "Done";
! 15: ?>
! 16: --EXPECTF--
! 17: string(19) "caseSensitivityTest"
! 18: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>