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) ) ) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( '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', )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
29.42 ms | 406 KiB | 5 Q