3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'a'.file_exists(__FILE__); $a1 = 'wiki'; $a2 = 'kiwi'; echo ${$a}; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lhS7R
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a, !1 = $a1, !2 = $a2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_exists'
          1        SEND_VAL                                                 '%2Fin%2FlhS7R'
          2        DO_ICALL                                         $3      
          3        CONCAT                                           ~4      'a', $3
          4        ASSIGN                                                   !0, ~4
    3     5        ASSIGN                                                   !1, 'wiki'
    4     6        ASSIGN                                                   !2, 'kiwi'
    5     7        FETCH_R                      local               ~8      !0
          8        ECHO                                                     ~8
    6     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.36 ms | 1394 KiB | 15 Q