3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_match('/a/u', " ", $m, 0, 1)); var_dump(preg_last_error_msg()); var_dump(preg_match('/(?:\D+|<\d+>)*[!?]/', "foobar foobar foobar", $m, 0, 1)); var_dump(preg_last_error_msg());
Output for git.master_jit, git.master, rfc.property-hooks
int(0) string(8) "No error" bool(false) string(25) "Backtrack limit exhausted"

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:
28.67 ms | 405 KiB | 5 Q