3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('|\[embed\]([^[]+)\[/embed\]|U', 'xxx', $match); print_r($match);

preferences:
56.06 ms | 402 KiB | 5 Q