3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = <<<NOT_INI [account] user = {user1} pwd = {password1} expdate = 2028-01-01 [account] user = {user2} pwd = {password2} expdate = 2028-01-01 [account] user = {user3} pwd = {password3} expdate = 2028-01-01 NOT_INI; var_export( array_map( 'parse_ini_string', preg_split( '~\R?^\[account]\R~m', $data, null, PREG_SPLIT_NO_EMPTY ) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H1AvJ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%5Baccount%5D%0Auser+%3D+%7Buser1%7D%0Apwd+%3D+%7Bpassword1%7D%0Aexpdate+%3D+2028-01-01%0A%5Baccount%5D%0Auser+%3D+%7Buser2%7D%0Apwd+%3D+%7Bpassword2%7D%0Aexpdate+%3D+2028-01-01%0A%5Baccount%5D%0Auser+%3D+%7Buser3%7D%0Apwd+%3D+%7Bpassword3%7D%0Aexpdate+%3D+2028-01-01'
   18     1        INIT_FCALL                                               'var_export'
   19     2        INIT_FCALL                                               'array_map'
   20     3        SEND_VAL                                                 'parse_ini_string'
   21     4        INIT_FCALL                                               'preg_split'
   22     5        SEND_VAL                                                 '%7E%5CR%3F%5E%5C%5Baccount%5D%5CR%7Em'
   23     6        SEND_VAR                                                 !0
   24     7        SEND_VAL                                                 null
   25     8        SEND_VAL                                                 1
   21     9        DO_ICALL                                         $2      
   25    10        SEND_VAR                                                 $2
   19    11        DO_ICALL                                         $3      
   25    12        SEND_VAR                                                 $3
   18    13        DO_ICALL                                                 
   28    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.29 ms | 999 KiB | 16 Q