3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myURL = 'http://www.economist.com/news/finance-and-economics/21588124-events-america-show-no-asset-copper-bottomed-where-theres-money-theres'; if (preg_match('/<meta property="og:title" content="(.+)"/', file_get_contents($myURL),$matches) && isset($matches[1]) ) { echo $matches[1]; }

preferences:
43.51 ms | 402 KiB | 5 Q