3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'make=ACURA&model%5B0%5D=MDX&model%5B1%5D=NSX&auction%5B0%5D=BAYAUC&auction%5B1%5D=IAA+Osaka'; parse_str($str, $output); //echo "<pre>"; //var_dump($output); foreach( $output as $opt ) { if( is_array($opt) ) echo join(" ", $opt)." "; else echo $opt." "; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 19
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 19
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 16
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/LLvAV
function name:  (null)
number of ops:  21
compiled vars:  !0 = $str, !1 = $output, !2 = $opt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'make%3DACURA%26model%255B0%255D%3DMDX%26model%255B1%255D%3DNSX%26auction%255B0%255D%3DBAYAUC%26auction%255B1%255D%3DIAA%2BOsaka'
    4     1        INIT_FCALL                                               'parse_str'
          2        SEND_VAR                                                 !0
          3        SEND_REF                                                 !1
          4        DO_ICALL                                                 
    9     5      > FE_RESET_R                                       $5      !1, ->19
          6    > > FE_FETCH_R                                               $5, !2, ->19
   11     7    >   TYPE_CHECK                                  128          !2
          8      > JMPZ                                                     ~6, ->16
   12     9    >   INIT_FCALL                                               'join'
         10        SEND_VAL                                                 '+'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $7      
         13        CONCAT                                           ~8      $7, '+'
         14        ECHO                                                     ~8
   11    15      > JMP                                                      ->18
   14    16    >   CONCAT                                           ~9      !2, '+'
         17        ECHO                                                     ~9
    9    18    > > JMP                                                      ->6
         19    >   FE_FREE                                                  $5
   15    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.95 ms | 999 KiB | 15 Q