3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('FOO', 'const foo'); $ini = <<<INI [foo] bar6 = %env(BAR@foo)% INI; var_dump(parse_ini_string($ini, true)); var_dump(parse_ini_string($ini, true, INI_SCANNER_RAW));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ua2fH
function name:  (null)
number of ops:  21
compiled vars:  !0 = $ini
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'FOO'
          2        SEND_VAL                                                 'const+foo'
          3        DO_ICALL                                                 
    4     4        ASSIGN                                                   !0, '%5Bfoo%5D%0A++bar6+%3D+%25env%28BAR%40foo%29%25'
    9     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'parse_ini_string'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                                 
   10    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'parse_ini_string'
         14        SEND_VAR                                                 !0
         15        SEND_VAL                                                 <true>
         16        SEND_VAL                                                 1
         17        DO_ICALL                                         $5      
         18        SEND_VAR                                                 $5
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.76 ms | 1399 KiB | 19 Q