3v4l.org

run code in 300+ PHP versions simultaneously
<?php parse_str('a.b]c.d e=1234'); parse_str('a.b[c.d e=1234'); parse_str('1a=1'); var_dump($GLOBALS["a_b_c.d e"]); var_dump(${"a_b_c.d e"});
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HhR23
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a_b_c.d e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'parse_str'
          1        SEND_VAL                                                 'a.b%5Dc.d+e%3D1234'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'parse_str'
          4        SEND_VAL                                                 'a.b%5Bc.d+e%3D1234'
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'parse_str'
          7        SEND_VAL                                                 '1a%3D1'
          8        DO_ICALL                                                 
    7     9        INIT_FCALL                                               'var_dump'
         10        FETCH_R                      global              ~4      'a_b_c.d+e'
         11        SEND_VAL                                                 ~4
         12        DO_ICALL                                                 
    8    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
269.35 ms | 1010 KiB | 15 Q