3v4l.org

run code in 300+ PHP versions simultaneously
<?php $haystack3 = '<span class=\'descr\'>test, test2, test3</span> <span class=\'descr\'>test</span> <span class=\'descr\'>test4 test5</span>'; preg_match_all('#^<span class=\'descr\'>(.*?)</span>$#m', $haystack3, $matches3); var_dump($matches3[1]);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> string(18) "test, test2, test3" [1]=> string(4) "test" [2]=> string(11) "test4 test5" }

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.28 ms | 405 KiB | 5 Q