3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arrayth = array("yolo", "y olo", "f_uck", "fyck", "f-uck", "cock", "123141", "cock3", "c-cock1", "c1-ock", "fuck"); foreach ($arrayth as $value) { if (preg_match_all("([a-zA-Z0-9-_]+)", $value)) { echo $value . " => matches the regex\n"; } else { echo $value . " => doesn't match the regex\n"; } } ?>
Output for git.master, git.master_jit, rfc.property-hooks
yolo => matches the regex y olo => matches the regex f_uck => matches the regex fyck => matches the regex f-uck => matches the regex cock => matches the regex 123141 => matches the regex cock3 => matches the regex c-cock1 => matches the regex c1-ock => matches the regex fuck => matches the regex

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