3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var1 = "hey"; $var2 = "you"; function hey($var1,$var2){ return array("and" => func_get_args()); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7SBTY
function name:  (null)
number of ops:  3
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'
    6     2      > RETURN                                                   1

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

End of function hey

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.43 ms | 1393 KiB | 13 Q