3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = tempnam('/tmp', 'bar'); file_put_contents($file, 'foo=no'); $strings = parse_ini_file($file, TRUE); $typed = parse_ini_file($file, TRUE, INI_SCANNER_TYPED); var_dump($strings); var_dump($typed);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5uZFN
function name:  (null)
number of ops:  27
compiled vars:  !0 = $file, !1 = $strings, !2 = $typed
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'tempnam'
          1        SEND_VAL                                                 '%2Ftmp'
          2        SEND_VAL                                                 'bar'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    4     5        INIT_FCALL                                               'file_put_contents'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 'foo%3Dno'
          8        DO_ICALL                                                 
    5     9        INIT_FCALL                                               'parse_ini_file'
         10        SEND_VAR                                                 !0
         11        SEND_VAL                                                 <true>
         12        DO_ICALL                                         $6      
         13        ASSIGN                                                   !1, $6
    6    14        INIT_FCALL                                               'parse_ini_file'
         15        SEND_VAR                                                 !0
         16        SEND_VAL                                                 <true>
         17        SEND_VAL                                                 2
         18        DO_ICALL                                         $8      
         19        ASSIGN                                                   !2, $8
    8    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !1
         22        DO_ICALL                                                 
    9    23        INIT_FCALL                                               'var_dump'
         24        SEND_VAR                                                 !2
         25        DO_ICALL                                                 
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.83 ms | 1014 KiB | 17 Q