3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all('/(?:&lt;|&gt;|&amp;)/i', '&lt;tomato&gt; has this &amp; that powers', $matches); var_dump($matches);

preferences:
62.51 ms | 402 KiB | 5 Q