3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = <<<EOF [group] var=123 var2[] var2[]=a var2[]=b var3[1]=test1 var3[2]=test2;test3 [group2] EOF; var_dump($s); $r = parse_ini_string( $s , true, INI_SCANNER_RAW); var_dump($r);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W9HCd
function name:  (null)
number of ops:  14
compiled vars:  !0 = $s, !1 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%0A%5Bgroup%5D%0Avar%3D123%0Avar2%5B%5D%0A%0Avar2%5B%5D%3Da%0Avar2%5B%5D%3Db%0A%0Avar3%5B1%5D%3Dtest1%0Avar3%5B2%5D%3Dtest2%3Btest3%0A%5Bgroup2%5D'
   16     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   17     4        INIT_FCALL                                               'parse_ini_string'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 <true>
          7        SEND_VAL                                                 1
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
   18    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.65 ms | 1394 KiB | 17 Q