3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $markdown = <<<TEXT hello! [6 Octobre 2014](https://twitter.com/Korben/status/519044794782605312)PS : Et je suis un huitre TEXT; preg_match('/(\[[^\]]+\]\((https?:)?(\/\/)?(www\.)?twitter\.com\/[^\/]+\/status\/\d+\))<script[^>]*>[^<]*<\/script>/i', $markdown, $matches); var_dump($matches);
Output for 4.3.0 - 7.2.0
array(0) { }