3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = "<h2>Title of post</h2> 1 category <strong>task 1</strong> 1 category <strong>task 2</strong> 1 category <strong>task 3</strong>&nbsp; "; $zz = preg_match_all('#<strong>(.*?)</strong>#',$string,$matches); echo var_dump($zz[0]);
based on GY4gb
Output for 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.28 - 7.3.0rc3
NULL