Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /usr/local/src/php7/php-7.0.5/ext/standard/tests/class_object/ |
Current File : //usr/local/src/php7/php-7.0.5/ext/standard/tests/class_object/method_exists_variation_003.phpt |
--TEST-- Test method_exists() function : variation - Case sensitivity --FILE-- <?php /* Prototype : proto bool method_exists(object object, string method) * Description: Checks if the class method exists * Source code: Zend/zend_builtin_functions.c * Alias to functions: */ echo "*** Testing method_exists() : variation ***\n"; Class caseSensitivityTest { public function myMethod() {} } var_dump(method_exists(new casesensitivitytest, 'myMetHOD')); var_dump(method_exists('casesensiTivitytest', 'myMetHOD')); echo "Done"; ?> --EXPECTF-- *** Testing method_exists() : variation *** bool(true) bool(true) Done
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare