3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array(); for ($i = 1; $i < 70; $i++) { $input['bgn_'.$i] = 'New'; } $post = http_build_query(array('test' => $input)); parse_str($post, $parsed); var_dump($parsed);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 3
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 3
Branch analysis from position: 9
Branch analysis from position: 3
filename:       /in/pKIk9
function name:  (null)
number of ops:  22
compiled vars:  !0 = $input, !1 = $i, !2 = $post, !3 = $parsed
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 1
          2      > JMP                                                      ->7
    5     3    >   CONCAT                                           ~6      'bgn_', !1
          4        ASSIGN_DIM                                               !0, ~6
          5        OP_DATA                                                  'New'
    4     6        PRE_INC                                                  !1
          7    >   IS_SMALLER                                               !1, 70
          8      > JMPNZ                                                    ~9, ->3
    8     9    >   INIT_FCALL                                               'http_build_query'
         10        INIT_ARRAY                                       ~10     !0, 'test'
         11        SEND_VAL                                                 ~10
         12        DO_ICALL                                         $11     
         13        ASSIGN                                                   !2, $11
   10    14        INIT_FCALL                                               'parse_str'
         15        SEND_VAR                                                 !2
         16        SEND_REF                                                 !3
         17        DO_ICALL                                                 
   12    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !3
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.65 ms | 1387 KiB | 19 Q