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);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
162.96 ms | 2640 KiB | 10 Q