Annotation of embedaddon/php/ext/standard/tests/class_object/class_exists_variation_003.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Test class_exists() function : usage variations - case sensitivity
! 3: --FILE--
! 4: <?php
! 5: /* Prototype : proto bool class_exists(string classname [, bool autoload])
! 6: * Description: Checks if the class exists
! 7: * Source code: Zend/zend_builtin_functions.c
! 8: * Alias to functions:
! 9: */
! 10:
! 11: class caseSensitivityTest {}
! 12: var_dump(class_exists('casesensitivitytest'));
! 13:
! 14: echo "Done"
! 15: ?>
! 16: --EXPECTF--
! 17: bool(true)
! 18: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>