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 : /proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/Zend/tests/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/Zend/tests/bug33996.phpt |
--TEST-- Bug #33996 (No information given for fatal error on passing invalid value to typed argument) --INI-- error_reporting=8191 --FILE-- <?php class Foo { // nothing } function FooTest(Foo $foo) { echo "Hello!"; } function NormalTest($a) { echo "Hi!"; } try { NormalTest(); } catch (Throwable $e) { echo "Exception: " . $e->getMessage() . "\n"; } try { FooTest(); } catch (Throwable $e) { echo "Exception: " . $e->getMessage() . "\n"; } FooTest(new Foo()); ?> --EXPECTF-- Exception: Too few arguments to function NormalTest(), 0 passed in %sbug33996.php on line 18 and exactly 1 expected Exception: Too few arguments to function FooTest(), 0 passed in %sbug33996.php on line 23 and exactly 1 expected Hello!
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare