3v4l.org

run code in 500+ PHP versions simultaneously
<?php $tirepr = "30"; $name = substr("tireqty",0,-3); $xx = $name . "pr"; echo $$xx;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/29Khi
function name:  (null)
number of ops:  9
compiled vars:  !0 = $tirepr, !1 = $name, !2 = $xx
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, '30'
    4     1        FRAMELESS_ICALL_3                substr              ~4      'tireqty', 0
          2        OP_DATA                                                      -3
          3        ASSIGN                                                       !1, ~4
    5     4        CONCAT                                               ~6      !1, 'pr'
          5        ASSIGN                                                       !2, ~6
    6     6        FETCH_R                          local               ~8      !2
          7        ECHO                                                         ~8
          8      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
129.64 ms | 473 KiB | 7 Q