3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = <<<DATA %user:100 [ type=admin, added=10/12/1997, last-login:10/20/1997, total-logins:45, status:1 ] %user:111 [ type=user, added=10/12/1997, last-login:10/27/1997, total-logins:145, status:1 ] %user:112 [ type=viewer, added=10/12/1997, last-login:10/23/1997, total-logins:6, status:1 ] %user:113 [ type=viewer, added=10/12/1997, last-login:10/14/1997, total-logins:2, status:1] %user:114 [ type=viewer, added=10/12/1997, last-login:10/14/1997, total-logins:1, status:1] %user:115 [ type=viewer, added=10/12/1997, last-login:10/12/1997, total-logins:1, status:1 ] DATA; $result = preg_replace_callback("/^%[^][]*\[[^][]*]$/m", function($m) { return str_replace(PHP_EOL, "", $m[0]); }, $data); echo $result;
Output for git.master, git.master_jit, rfc.property-hooks
%user:100 [ type=admin, added=10/12/1997, last-login:10/20/1997, total-logins:45, status:1] %user:111 [ type=user, added=10/12/1997, last-login:10/27/1997, total-logins:145, status:1] %user:112 [ type=viewer, added=10/12/1997, last-login:10/23/1997, total-logins:6, status:1] %user:113 [ type=viewer, added=10/12/1997, last-login:10/14/1997, total-logins:2, status:1] %user:114 [ type=viewer, added=10/12/1997, last-login:10/14/1997, total-logins:1, status:1] %user:115 [ type=viewer, added=10/12/1997, last-login:10/12/1997, total-logins:1, status:1]

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:
161.38 ms | 407 KiB | 5 Q