3v4l.org

run code in 500+ PHP versions simultaneously
<?php $raw=array( "foo.bar"=>"123" ); $encoded=http_build_query($raw); parse_str($encoded,$decoded); var_dump(["raw"=>$raw,"encoded"=>$encoded,"decoded"=>$decoded]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6Wa23
function name:  (null)
number of ops:  16
compiled vars:  !0 = $raw, !1 = $encoded, !2 = $decoded
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
    5     1        INIT_FCALL                                                   'http_build_query'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                             $4      
          4        ASSIGN                                                       !1, $4
    6     5        INIT_FCALL                                                   'parse_str'
          6        SEND_VAR                                                     !1
          7        SEND_REF                                                     !2
          8        DO_ICALL                                                     
    7     9        INIT_FCALL                                                   'var_dump'
         10        INIT_ARRAY                                           ~7      !0, 'raw'
         11        ADD_ARRAY_ELEMENT                                    ~7      !1, 'encoded'
         12        ADD_ARRAY_ELEMENT                                    ~7      !2, 'decoded'
         13        SEND_VAL                                                     ~7
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.83 ms | 2033 KiB | 16 Q