3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a($n, $str, $file, $l, $context, $test) { var_dump(func_args()); } set_error_handler("a"); error();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7HjkJ
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                                                 
    6     3        INIT_FCALL_BY_NAME                                       'error'
          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/7HjkJ
function name:  a
number of ops:  12
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        INIT_FCALL_BY_NAME                                       'func_args'
          8        DO_FCALL                                      0  $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                                 
    4    11      > RETURN                                                   null

End of function a

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.23 ms | 1395 KiB | 17 Q