3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('INSTALL_ROOT', "meukee!"); $array = parse_ini_string('[Section] cast.float = 1.2 cast.string = "fsdjlk" cast.string = "fsdjlk=waa;meukee" cast.int = 123456 cast.negativeInt = -123456 cast.PostiveInt = +123456 cast.null = null cast.noAssignment cast.bool.true = true cast.bool.false = false cast.installroot[] = 123456 cast.installroot[] = INSTALL_ROOT "waa" cast.installroot[] = INSTALL_ROOT cast.installroot[] = "waa" INSTALL_ROOT cast.installroot[] = INSTALL_ROOT "INSTALL_ROOT"', false, INI_SCANNER_RAW); var_dump($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ElVtu
function name:  (null)
number of ops:  14
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'INSTALL_ROOT'
          2        SEND_VAL                                                 'meukee%21'
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'parse_ini_string'
          5        SEND_VAL                                                 '%5BSection%5D%0Acast.float+%3D+1.2%0Acast.string+%3D+%22fsdjlk%22%0Acast.string+%3D+%22fsdjlk%3Dwaa%3Bmeukee%22%0Acast.int+%3D+123456%0Acast.negativeInt+%3D+-123456%0Acast.PostiveInt+%3D+%2B123456%0Acast.null+%3D+null%0Acast.noAssignment%0Acast.bool.true+%3D+true%0Acast.bool.false+%3D+false%0Acast.installroot%5B%5D+%3D+123456%0Acast.installroot%5B%5D+%3D+INSTALL_ROOT+%22waa%22%0Acast.installroot%5B%5D+%3D+INSTALL_ROOT%0Acast.installroot%5B%5D+%3D+%22waa%22+INSTALL_ROOT%0Acast.installroot%5B%5D+%3D+INSTALL_ROOT+%22INSTALL_ROOT%22'
   19     6        SEND_VAL                                                 <false>
          7        SEND_VAL                                                 1
          8        DO_ICALL                                         $2      
    4     9        ASSIGN                                                   !0, $2
   21    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.52 ms | 1395 KiB | 19 Q