3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo( &$arg1, &$arg2 ) { var_dump( $arg1, $arg2 ); } $a = 1; $b = 2; foo( $a, $b );
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 >   ASSIGN                                                       !0, 1
    6     1        ASSIGN                                                       !1, 2
    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 8.5.0


preferences:
160.06 ms | 1982 KiB | 15 Q