3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = <<<EOF # comment here [group] var=123 #comment var2[] var2[]=true var2[]=yes var2[]=disabled var3[a]=test1;test2 #more comment; etc var3[b]=test3,test3,test5|test6 [group2] EOF; $r = parse_ini_string( strtr($s, '#;',';#') , false, INI_SCANNER_RAW); var_dump($r);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4EQYV
function name:  (null)
number of ops:  16
compiled vars:  !0 = $s, !1 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%23+comment+here%0A%5Bgroup%5D%0Avar%3D123%0A%23comment%0Avar2%5B%5D%0Avar2%5B%5D%3Dtrue%0Avar2%5B%5D%3Dyes%0Avar2%5B%5D%3Ddisabled%0A%0A%0Avar3%5Ba%5D%3Dtest1%3Btest2+%23more+comment%3B+etc%0Avar3%5Bb%5D%3Dtest3%2Ctest3%2Ctest5%7Ctest6%0A%5Bgroup2%5D%0A'
   20     1        INIT_FCALL                                               'parse_ini_string'
          2        INIT_FCALL                                               'strtr'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 '%23%3B'
          5        SEND_VAL                                                 '%3B%23'
          6        DO_ICALL                                         $3      
          7        SEND_VAR                                                 $3
          8        SEND_VAL                                                 <false>
          9        SEND_VAL                                                 1
         10        DO_ICALL                                         $4      
         11        ASSIGN                                                   !1, $4
   21    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.96 ms | 1394 KiB | 19 Q