3v4l.org

run code in 300+ PHP versions simultaneously
<?php ${0xFF} = 'Hello Peter'; // $GLOBALS['255'] ${2 + 2} = 'Hello Peter'; // $GLOBALS['4'] ${'_SESSION'} = 'test'; // $GLOBALS['Hello Peter'] var_dump($GLOBALS);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XQZqs
function name:  (null)
number of ops:  10
compiled vars:  !0 = $255
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Hello+Peter'
    4     1        FETCH_W                      local               $2      '4'
          2        ASSIGN                                                   $2, 'Hello+Peter'
    5     3        FETCH_W                      global              $4      '_SESSION'
          4        ASSIGN                                                   $4, 'test'
    7     5        INIT_FCALL                                               'var_dump'
          6        FETCH_R                      global              ~6      'GLOBALS'
          7        SEND_VAL                                                 ~6
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.2 ms | 1394 KiB | 15 Q