3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'OK MPD 0.23.5', 'repeat: 0', 'random: 0', 'single: 0', 'consume: 1', 'partition: default', 'playlist: 11292', 'playlistlength: 1', 'mixrampdb: 0', 'state: play', 'song: 0', 'songid: 3', 'time: 14992:0', 'elapsed: 14992.067', 'bitrate: 48', 'audio: 44100:16:2', 'OK', ]; var_export( parse_ini_string( implode( "\n", preg_filter('/^[^:]+\K: /', '=', $array) ) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lPJJh
function name:  (null)
number of ops:  17
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   23     1        INIT_FCALL                                               'var_export'
   24     2        INIT_FCALL                                               'parse_ini_string'
   25     3        INIT_FCALL                                               'implode'
   26     4        SEND_VAL                                                 '%0A'
   27     5        INIT_FCALL                                               'preg_filter'
          6        SEND_VAL                                                 '%2F%5E%5B%5E%3A%5D%2B%5CK%3A+%2F'
          7        SEND_VAL                                                 '%3D'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
   25    11        DO_ICALL                                         $3      
   27    12        SEND_VAR                                                 $3
   24    13        DO_ICALL                                         $4      
   27    14        SEND_VAR                                                 $4
   23    15        DO_ICALL                                                 
   30    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.32 ms | 1007 KiB | 17 Q