3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_content = '<a href="https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-9/p100x100/10394047_10202106066684824_80590983553430220_n.jpg?oh=fcccf17086a3593d926a100c9a82f898&amp;oe=546AACC9&amp;__gda__=1416199983_da92aa7319b2636ad2887652e2f9a10e">https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-9/p100x100/10394047_10202106066684824_80590983553430220_n.jpg?oh=fcccf17086a3593d926a100c9a82f898&amp;oe=546AACC9&amp;__gda__=1416199983_da92aa7319b2636ad2887652e2f9a10e</a>'; if(preg_match_all('#<a href=\"https://fbcdn([^\?\'"]*?)(.jpg|.gif|.png)\?([^\'"]*?)[^>]*>([^<]*?)</a>#i', $_content, $matches)); var_dump($matches);
Output for git.master, git.master_jit, rfc.property-hooks
array(5) { [0]=> array(1) { [0]=> string(477) "<a href="https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-9/p100x100/10394047_10202106066684824_80590983553430220_n.jpg?oh=fcccf17086a3593d926a100c9a82f898&amp;oe=546AACC9&amp;__gda__=1416199983_da92aa7319b2636ad2887652e2f9a10e">https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-9/p100x100/10394047_10202106066684824_80590983553430220_n.jpg?oh=fcccf17086a3593d926a100c9a82f898&amp;oe=546AACC9&amp;__gda__=1416199983_da92aa7319b2636ad2887652e2f9a10e</a>" } [1]=> array(1) { [0]=> string(106) "-sphotos-g-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-9/p100x100/10394047_10202106066684824_80590983553430220_n" } [2]=> array(1) { [0]=> string(4) ".jpg" } [3]=> array(1) { [0]=> string(0) "" } [4]=> array(1) { [0]=> string(231) "https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-9/p100x100/10394047_10202106066684824_80590983553430220_n.jpg?oh=fcccf17086a3593d926a100c9a82f898&amp;oe=546AACC9&amp;__gda__=1416199983_da92aa7319b2636ad2887652e2f9a10e" } }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
40.98 ms | 403 KiB | 8 Q