3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a($n, $str, $file, $l, $context, $test) { var_dump($test); } set_error_handler("a"); function test() { $unusedvar; } test();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MbCHk
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'set_error_handler'
          1        SEND_VAL                                                 'a'
          2        DO_ICALL                                                 
   10     3        INIT_FCALL                                               'test'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MbCHk
function name:  a
number of ops:  10
compiled vars:  !0 = $n, !1 = $str, !2 = $file, !3 = $l, !4 = $context, !5 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
          5        RECV                                             !5      
    3     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !5
          8        DO_ICALL                                                 
    4     9      > RETURN                                                   null

End of function a

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MbCHk
function name:  test
number of ops:  1
compiled vars:  !0 = $unusedvar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E > > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
188.97 ms | 1397 KiB | 18 Q