3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getRef(&$tak) { $tak .= "tasads"; } $var = "Ta"; echo $var + "<br>"; getRef($var); echo $var + "<br>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eN92Z
function name:  (null)
number of ops:  9
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN                                                   !0, 'Ta'
    7     1        ADD                                              ~2      !0, '%3Cbr%3E'
          2        ECHO                                                     ~2
    9     3        INIT_FCALL                                               'getref'
          4        SEND_REF                                                 !0
          5        DO_FCALL                                      0          
   13     6        ADD                                              ~4      !0, '%3Cbr%3E'
          7        ECHO                                                     ~4
          8      > RETURN                                                   1

Function getref:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eN92Z
function name:  getRef
number of ops:  3
compiled vars:  !0 = $tak
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        ASSIGN_OP                                     8          !0, 'tasads'
    4     2      > RETURN                                                   null

End of function getref

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147 ms | 1401 KiB | 14 Q