3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = 'key1\value1\key2\value2\key3\value3\key4\value4\key5\value5'; parse_str(preg_replace('/([^\\\\]+)\\\\([^\\\\]+)\\\\?/', '$1=$2&', $string), $output); var_export($output);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7AkOi
function name:  (null)
number of ops:  11
compiled vars:  !0 = $string, !1 = $output
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'key1%5Cvalue1%5Ckey2%5Cvalue2%5Ckey3%5Cvalue3%5Ckey4%5Cvalue4%5Ckey5%5Cvalue5'
    5     1        INIT_FCALL                                                   'parse_str'
          2        FRAMELESS_ICALL_3                preg_replace        ~3      '%2F%28%5B%5E%5C%5C%5D%2B%29%5C%5C%28%5B%5E%5C%5C%5D%2B%29%5C%5C%3F%2F', '%241%3D%242%26'
          3        OP_DATA                                                      !0
          4        SEND_VAL                                                     ~3
          5        SEND_REF                                                     !1
          6        DO_ICALL                                                     
    6     7        INIT_FCALL                                                   'var_export'
          8        SEND_VAR                                                     !1
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.49 ms | 1988 KiB | 15 Q