3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = '/tmp/FOO2AsD16'; file_put_contents($file, ' foo=bar #hashcomment=nothing ;realcomment=nowt baz=quux '); print_r( parse_ini_file($file) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pbQuE
function name:  (null)
number of ops:  12
compiled vars:  !0 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2Ftmp%2FFOO2AsD16'
    4     1        INIT_FCALL                                               'file_put_contents'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%0Afoo%3Dbar%0A%23hashcomment%3Dnothing%0A%3Brealcomment%3Dnowt%0Abaz%3Dquux%0A'
          4        DO_ICALL                                                 
   11     5        INIT_FCALL                                               'print_r'
          6        INIT_FCALL                                               'parse_ini_file'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.01 ms | 1394 KiB | 19 Q