1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00
Files
archived-php-src/ext/standard/tests/class_object/get_class_variation_002.phpt
Gabriel Caruso ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00

18 lines
422 B
PHP

--TEST--
Test get_class() function : usage variations - ensure class name case is preserved.
--FILE--
<?php
/* Prototype : proto string get_class([object object])
* Description: Retrieves the class name
* Source code: Zend/zend_builtin_functions.c
* Alias to functions:
*/
class caseSensitivityTest {}
var_dump(get_class(new casesensitivitytest));
echo "Done";
?>
--EXPECT--
string(19) "caseSensitivityTest"
Done