3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<INI arr[] = 1 arr[] = 2 arr[] = "string" integer_value = 3 INI; file_put_contents('/tmp/test', $str); var_dump(parse_ini_file('/tmp/test'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/faRog
function name:  (null)
number of ops:  12
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'arr%5B%5D+%3D+1%0Aarr%5B%5D+%3D+2%0Aarr%5B%5D+%3D+%22string%22%0Ainteger_value+%3D+3'
    8     1        INIT_FCALL                                               'file_put_contents'
          2        SEND_VAL                                                 '%2Ftmp%2Ftest'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
    9     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'parse_ini_file'
          7        SEND_VAL                                                 '%2Ftmp%2Ftest'
          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:
148.59 ms | 1394 KiB | 19 Q