3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $markdown = <<<TEXT hello! <blockquote class="twitter-tweet"><p>Le 24/10, c&#39;est RemixjobsDay à la Mairie de Paris. Venez rencontrer nos startups et décrocher un job. <a href="http://t.co/q8h1Dvb38x">http://t.co/q8h1Dvb38x</a> <a href="https://twitter.com/hashtag/rjday?src=hash">#rjday</a> <a href="https://twitter.com/hashtag/startup?src=hash">#startup</a></p>&mdash; Korben (@Korben) <a href="https://twitter.com/Korben/status/519044794782605312">October 6, 2014</a></blockquote> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> PS : Et je suis un huitre TEXT; preg_match('/(\[[^\]]+\]\((https?:)?(\/\/)?(www\.)?twitter\.com\/[^\/]+\/status\/\d+\))<script[^>]*>[^<]*<\/script>/i', $markdown, $matches); var_dump($matches);
based on 1S5W4
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
array(0) { }
Output for hhvm-3.10.0

Process exited with code 153.