3v4l.org

run code in 300+ PHP versions simultaneously
<?php function long_exception_handler($exception) { // for compatibility, call __toString echo $exception->__toString(); } set_exception_handler('long_exception_handler'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sFthn
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'set_exception_handler'
          1        SEND_VAL                                                 'long_exception_handler'
          2        DO_ICALL                                                 
    7     3      > RETURN                                                   1

Function long_exception_handler:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sFthn
function name:  long_exception_handler
number of ops:  5
compiled vars:  !0 = $exception
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    4     1        INIT_METHOD_CALL                                         !0, '__toString'
          2        DO_FCALL                                      0  $1      
          3        ECHO                                                     $1
    5     4      > RETURN                                                   null

End of function long_exception_handler

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.52 ms | 1394 KiB | 15 Q