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/reflection/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/ext/reflection/tests/ReflectionFunction_getClosure_error.phpt |
--TEST-- Test ReflectionFunction::getClosure() function : error functionality --FILE-- <?php /* Prototype : public mixed ReflectionFunction::getClosure() * Description: Returns a dynamically created closure for the function * Source code: ext/reflection/php_reflection.c * Alias to functions: */ echo "*** Testing ReflectionFunction::getClosure() : error conditions ***\n"; function foo() { var_dump( "Inside foo function" ); } $func = new ReflectionFunction( 'foo' ); $closure = $func->getClosure('bar'); ?> ===DONE=== --EXPECTF-- *** Testing ReflectionFunction::getClosure() : error conditions *** Warning: ReflectionFunction::getClosure() expects exactly 0 parameters, 1 given in %s on line %d ===DONE===
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare