3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = '<h2>Title of post</h2> 1 category <strong>task 1</strong> 1 category <strong>task 2</strong> 1 category <strong>task 3</strong>&nbsp;'; preg_match_all('#<\/h2>(.*?)<strong>#',$content,$matches); print_r($matches);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => </h2> 1 category <strong> ) [1] => Array ( [0] => 1 category ) )

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