3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f() { $foo = null; $foo->foo(); } function f1() { f(); } set_error_handler(function() { var_dump(func_get_args());}, 0xffffffff); register_shutdown_function(function() { var_dump(error_get_last()); }); f1();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IcQdA
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                               'set_error_handler'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FIcQdA%3A12%240'
          2        SEND_VAL                                                 ~0
          3        SEND_VAL                                                 4294967295
          4        DO_ICALL                                                 
   13     5        INIT_FCALL                                               'register_shutdown_function'
          6        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FIcQdA%3A13%241'
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                                 
   14     9        INIT_FCALL                                               'f1'
         10        DO_FCALL                                      0          
         11      > RETURN                                                   1

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

End of function f

Function f1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IcQdA
function name:  f1
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'f'
          1        DO_FCALL                                      0          
   10     2      > RETURN                                                   null

End of function f1

Function %00%7Bclosure%7D%2Fin%2FIcQdA%3A12%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IcQdA
function name:  {closure}
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                               'var_dump'
          1        FUNC_GET_ARGS                                    ~0      
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
          4      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FIcQdA%3A12%240

Function %00%7Bclosure%7D%2Fin%2FIcQdA%3A13%241:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IcQdA
function name:  {closure}
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'error_get_last'
          2        DO_ICALL                                         $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
          5      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FIcQdA%3A13%241

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
255.25 ms | 1407 KiB | 23 Q