3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getVarName() { return 'zzx'; } $zzx = 'Var value'; echo "Value of variable = {${getVarName()}}";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ps9Eh
function name:  (null)
number of ops:  8
compiled vars:  !0 = $zzx
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN                                                   !0, 'Var+value'
    8     1        NOP                                                      
          2        INIT_FCALL                                               'getvarname'
          3        DO_FCALL                                      0  $2      
          4        FETCH_R                      local               ~3      $2
          5        FAST_CONCAT                                      ~4      'Value+of+variable+%3D+', ~3
          6        ECHO                                                     ~4
          7      > RETURN                                                   1

Function getvarname:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ps9Eh
function name:  getVarName
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E > > RETURN                                                   'zzx'
    5     1*     > RETURN                                                   null

End of function getvarname

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.73 ms | 1397 KiB | 14 Q