3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var1 = "hey"; $var2 = "you"; function _(){ return array("and" => func_get_args()); } _($var1,$var2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KEEbA
function name:  (null)
number of ops:  7
compiled vars:  !0 = $var1, !1 = $var2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'hey'
    3     1        ASSIGN                                                   !1, 'you'
    7     2        INIT_FCALL                                               '_'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Function _:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KEEbA
function name:  _
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   FUNC_GET_ARGS                                    ~0      
          1        INIT_ARRAY                                       ~1      ~0, 'and'
          2      > RETURN                                                   ~1
    6     3*     > RETURN                                                   null

End of function _

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.17 ms | 1396 KiB | 14 Q