3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = []; parse_str('foo=1&foo=2&foo=3&arr[]=foo+bar&arr[]=baz&[]=1&[]=2&code.1=printr%28hahaha&code 1=448044&test.mijn%5B%5D%5B2%5D=test%20Roemer&test%5Bmijn=test%202e%20Roemer', $result); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OHYlS
function name:  (null)
number of ops:  9
compiled vars:  !0 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'parse_str'
          2        SEND_VAL                                                 'foo%3D1%26foo%3D2%26foo%3D3%26arr%5B%5D%3Dfoo%2Bbar%26arr%5B%5D%3Dbaz%26%5B%5D%3D1%26%5B%5D%3D2%26code.1%3Dprintr%2528hahaha%26code+1%3D448044%26test.mijn%255B%255D%255B2%255D%3Dtest%2520Roemer%26test%255Bmijn%3Dtest%25202e%2520Roemer'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    5     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.2 ms | 1459 KiB | 15 Q