3v4l.org

run code in 300+ PHP versions simultaneously
<?php function handler() { echo "In handler"; print_r(error_get_last()); new bar(); } new foo();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PVNNA
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   NEW                                              $0      'foo'
          1        DO_FCALL                                      0          
          2        FREE                                                     $0
          3      > RETURN                                                   1

Function handler:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PVNNA
function name:  handler
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     'In+handler'
    5     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'error_get_last'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    6     6        NEW                                              $2      'bar'
          7        DO_FCALL                                      0          
          8        FREE                                                     $2
    7     9      > RETURN                                                   null

End of function handler

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.79 ms | 1386 KiB | 17 Q