3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<td valign="top" width="300"class="topborder"><ahref="/path/to/somewhere" class="bigger">random1</a><br/> <td valign="top" width="300"class="topborder"><ahref="/path/to/somewhere2" class="bigger">random2</a><br/>'; $pattern = '/width=\"300\"class=\"topborder\"><ahref=\"(.*?)"/'; print "<pre>"; if (preg_match_all($pattern, $str, $match)) print_r($match); else print "nope";
Output for git.master, git.master_jit, rfc.property-hooks
<pre>Array ( [0] => Array ( [0] => width="300"class="topborder"><ahref="/path/to/somewhere" [1] => width="300"class="topborder"><ahref="/path/to/somewhere2" ) [1] => Array ( [0] => /path/to/somewhere [1] => /path/to/somewhere2 ) )

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:
46.42 ms | 402 KiB | 8 Q