3v4l.org

run code in 500+ PHP versions simultaneously
<?php $ini = <<<END [section] 1="Hello" 2="Hello" ; comment END; var_dump(parse_ini_string($ini,true,INI_SCANNER_RAW)); var_dump(parse_ini_string($ini,true,INI_SCANNER_NORMAL)); var_dump(parse_ini_string($ini,true,INI_SCANNER_TYPED));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7FQHA
function name:  (null)
number of ops:  26
compiled vars:  !0 = $ini
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%5Bsection%5D%0A1%3D%22Hello%22%0A2%3D%22Hello%22+%3B+comment'
    9     1        INIT_FCALL                                                   'var_dump'
          2        INIT_FCALL                                                   'parse_ini_string'
          3        SEND_VAR                                                     !0
          4        SEND_VAL                                                     <true>
          5        SEND_VAL                                                     1
          6        DO_ICALL                                             $2      
          7        SEND_VAR                                                     $2
          8        DO_ICALL                                                     
   10     9        INIT_FCALL                                                   'var_dump'
         10        INIT_FCALL                                                   'parse_ini_string'
         11        SEND_VAR                                                     !0
         12        SEND_VAL                                                     <true>
         13        SEND_VAL                                                     0
         14        DO_ICALL                                             $4      
         15        SEND_VAR                                                     $4
         16        DO_ICALL                                                     
   11    17        INIT_FCALL                                                   'var_dump'
         18        INIT_FCALL                                                   'parse_ini_string'
         19        SEND_VAR                                                     !0
         20        SEND_VAL                                                     <true>
         21        SEND_VAL                                                     2
         22        DO_ICALL                                             $6      
         23        SEND_VAR                                                     $6
         24        DO_ICALL                                                     
         25      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
168.78 ms | 2157 KiB | 15 Q