3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $b = 'b'; $a = '$b'; echo $a; echo $$a; echo $$$a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LJQ2G
function name:  (null)
number of ops:  9
compiled vars:  !0 = $b, !1 = $a
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 'b'
   4     1        ASSIGN                                                   !1, '%24b'
   5     2        ECHO                                                     !1
   6     3        FETCH_R                      local               $4      !1
         4        ECHO                                                     $4
   7     5        FETCH_R                      local               $5      !1
         6        FETCH_R                      local               $6      $5
         7        ECHO                                                     $6
         8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0