Arquivos
hhvm/hphp/test/quick/vector-unwind-decref.php.expect
T
Paul Bissonnette d8df647b38 Fixed cleanup/exception handling for vector operations.
Vector statements ending with a SetProp now properly free
         memory when run with JIT enabled.  Additionally, in both
         JIT and interpreted mode memory will still be freed if
         exceptions are thrown during evaluation of vector operations.
2013-06-11 11:47:47 -07:00

27 linhas
512 B
Plaintext

calling main
in main
creating new c
c constructing
calling c.__get() and logger.__set()
returning new logger
logger constructing
set was called
logger destructing
calling c.__get() and logger.__get()
returning new logger
logger constructing
get was called
logger destructing
got value 10
creating new d
d constructing
calling d.__get() and logger2.__set()
returning new logger2
logger2 constructing
set was called, throwing an exception
logger2 destructing
d destructing
c destructing
Caught exception
last line