3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = "javascript1.js /dev/spacethenjs2.js doublenewline_tab_javascript3.js /dev/javascript4.js javascript5_trailingspaces.js "; var_export($test); echo "\n---\nSee divided and trimmed output: "; var_export(preg_match_all("~[/\w]+\.js\b~", $test, $matches) ? $matches[0] : 'no matches');
Output for git.master, git.master_jit, rfc.property-hooks
'javascript1.js /dev/spacethenjs2.js doublenewline_tab_javascript3.js /dev/javascript4.js javascript5_trailingspaces.js ' --- See divided and trimmed output: array ( 0 => 'javascript1.js', 1 => '/dev/spacethenjs2.js', 2 => 'doublenewline_tab_javascript3.js', 3 => '/dev/javascript4.js', 4 => 'javascript5_trailingspaces.js', )

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:
26.97 ms | 406 KiB | 5 Q