3v4l.org

run code in 300+ PHP versions simultaneously
<?php function chars($a) { return addslashes(implode("", $a)); } $set = implode("", array_map("chr", range(32, 127))); var_dump(preg_match_all('/[A-\d]/', $set, $m) ? chars($m[0]) : null); var_dump(preg_match_all('/[\d-A]/', $set, $m) ? chars($m[0]) : null);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 5 in /in/LC0hG on line 6 NULL Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 3 in /in/LC0hG on line 7 NULL

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:
55.1 ms | 405 KiB | 9 Q