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); f1();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AWj08
function name:  (null)
number of ops:  8
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%2FAWj08%3A12%240'
          2        SEND_VAL                                                 ~0
          3        SEND_VAL                                                 4294967295
          4        DO_ICALL                                                 
   13     5        INIT_FCALL                                               'f1'
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AWj08
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/AWj08
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%2FAWj08%3A12%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AWj08
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%2FAWj08%3A12%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.16 ms | 1399 KiB | 19 Q