3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo( &$arg1, &$arg2 ) { var_dump( $arg1, $arg2 ); } $a = 1; $b = 2; foo( $a, $b );
based on ZfMrf
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sQFsU
function name:  (null)
number of ops:  7
compiled vars:  !0 = $a, !1 = $b
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   5     0  E >   QM_ASSIGN                                                !0
   6     1        QM_ASSIGN                                                !1
   7     2        INIT_FCALL                                               'foo'
         3        SEND_REF                                                 !0
         4        SEND_REF                                                 !1
         5        DO_FCALL                                      0          
         6      > RETURN                                                   1

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

End of function foo

Generated using Vulcan Logic Dumper, using php 7.4.0