3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(PCRE_VERSION, ini_get('pcre.backtrack_limit'),ini_get('pcre.recursion_limit')); $b = preg_replace('/b.*b/', '', 'baab' . str_repeat('a', 100024)); //$b = preg_match('/(.)*/', str_repeat('x', 12000)); var_dump(strlen($b), preg_last_error());
Output for git.master, git.master_jit, rfc.property-hooks
string(16) "10.40 2022-04-14" string(7) "1000000" string(6) "100000" int(100024) int(0)

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:
44.82 ms | 401 KiB | 8 Q