3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test=array("https://www.google.co.in/search?q=google&rlz=1C1WSCB_enIN571IN571&espv=210&es_sm=93&source=lnms&tbm=isch&sa=X&ei=YcHYUrrUO4eTrgea1oGABA&sqi=2&ved=0CAcQ_AUoAQ&biw=1366&bih=623#facrc=_&imgdii=_&imgrc=_6DUmv5JQJ6U7M%253A%3BadEvAs7tFS6cEM%3Bhttp%253A%252F%252Fwww.cryptocoinsnews.com%252Fwp-content%252Fuploads%252F2013%252F12%252Fbitcoin-google.jpeg%3Bhttp%253A%252F%252Fwww.cryptocoinsnews.com%252F2013%252F09%252F04%252Fwarning-do-not-upgrade-google-authenticator-iphone-you-will-loose-your-keys%252F%3B1440%3B720"=>"www.google.com", "https://www.google.co.in/search?q=yahoo&rlz=1C1WSCB_enIN571IN571&espv=210&es_sm=93&source=lnms&tbm=isch&sa=X&ei=jMHYUv3jH8GPrQfZ4IGwDw&ved=0CAcQ_AUoAQ&biw=1366&bih=623#facrc=_&imgdii=_&imgrc=3W-eajXUevUNJM%253A%3B1VD8Mp7dxfJzTM%3Bhttp%253A%252F%252Fwww.indiantelevision.com%252Fsites%252Fdrupal7.indiantelevision.co.in%252Ffiles%252Fimages%252Fmovie-images%252F2014%252F01%252F03%252F89.jpg%3Bhttp%253A%252F%252Fwww.indiantelevision.com%252Fheadlines%252Fy2k11%252Faug%252Faug119.php%3B400%3B400"=>"www.yahoo.com", "https://www.google.co.in/search?q=gmail&rlz=1C1WSCB_enIN571IN571&espv=210&es_sm=93&source=lnms&tbm=isch&sa=X&ei=pcHYUoqSKI-IrAff9IDICQ&ved=0CAcQ_AUoAQ&biw=1366&bih=623#facrc=_&imgdii=_&imgrc=hWhqn1rJ31lrZM%253A%3B_tq01PvnzZd9fM%3Bhttp%253A%252F%252Fwww.digitaltrends.com%252Fwp-content%252Fuploads%252F2011%252F10%252FSuper_Gmail_Logo1.png%3Bhttp%253A%252F%252Fwww.digitaltrends.com%252Fweb%252Fnow-wheres-that-email-gmail-introduces-a-bunch-of-new-search-options%252F%3B1600%3B1183"=>"www.gmail.com" ); foreach($test as $x=>$x_value) { echo "Key=" . $x . ", Value=" . $x_value; echo "<br>"; }
Output for 4.3.0 - 7.1.0
Key=https://www.google.co.in/search?q=google&rlz=1C1WSCB_enIN571IN571&espv=210&es_sm=93&source=lnms&tbm=isch&sa=X&ei=YcHYUrrUO4eTrgea1oGABA&sqi=2&ved=0CAcQ_AUoAQ&biw=1366&bih=623#facrc=_&imgdii=_&imgrc=_6DUmv5JQJ6U7M%253A%3BadEvAs7tFS6cEM%3Bhttp%253A%252F%252Fwww.cryptocoinsnews.com%252Fwp-content%252Fuploads%252F2013%252F12%252Fbitcoin-google.jpeg%3Bhttp%253A%252F%252Fwww.cryptocoinsnews.com%252F2013%252F09%252F04%252Fwarning-do-not-upgrade-google-authenticator-iphone-you-will-loose-your-keys%252F%3B1440%3B720, Value=www.google.com<br>Key=https://www.google.co.in/search?q=yahoo&rlz=1C1WSCB_enIN571IN571&espv=210&es_sm=93&source=lnms&tbm=isch&sa=X&ei=jMHYUv3jH8GPrQfZ4IGwDw&ved=0CAcQ_AUoAQ&biw=1366&bih=623#facrc=_&imgdii=_&imgrc=3W-eajXUevUNJM%253A%3B1VD8Mp7dxfJzTM%3Bhttp%253A%252F%252Fwww.indiantelevision.com%252Fsites%252Fdrupal7.indiantelevision.co.in%252Ffiles%252Fimages%252Fmovie-images%252F2014%252F01%252F03%252F89.jpg%3Bhttp%253A%252F%252Fwww.indiantelevision.com%252Fheadlines%252Fy2k11%252Faug%252Faug119.php%3B400%3B400, Value=www.yahoo.com<br>Key=https://www.google.co.in/search?q=gmail&rlz=1C1WSCB_enIN571IN571&espv=210&es_sm=93&source=lnms&tbm=isch&sa=X&ei=pcHYUoqSKI-IrAff9IDICQ&ved=0CAcQ_AUoAQ&biw=1366&bih=623#facrc=_&imgdii=_&imgrc=hWhqn1rJ31lrZM%253A%3B_tq01PvnzZd9fM%3Bhttp%253A%252F%252Fwww.digitaltrends.com%252Fwp-content%252Fuploads%252F2011%252F10%252FSuper_Gmail_Logo1.png%3Bhttp%253A%252F%252Fwww.digitaltrends.com%252Fweb%252Fnow-wheres-that-email-gmail-introduces-a-bunch-of-new-search-options%252F%3B1600%3B1183, Value=www.gmail.com<br>