3v4l.org

run code in 300+ PHP versions simultaneously
<?php $siteName = 'Jenny@UK News'; // YQL query (SELECT * from feed ... ) // Split for readability $path = "http://query.yahooapis.com/v1/public/yql?q="; $path .= urlencode("SELECT * FROM feed WHERE url='http://jennyuknews.tumblr.com/rss'"); $path .= "&format=json"; // Call YQL, and if the query didn't fail, cache the returned data $feed = file_get_contents($path); // Decode that shizzle $feed = json_decode($feed);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for query.yahooapis.com failed: System error in /in/ef1Gb on line 11 Warning: file_get_contents(http://query.yahooapis.com/v1/public/yql?q=SELECT+%2A+FROM+feed+WHERE+url%3D%27http%3A%2F%2Fjennyuknews.tumblr.com%2Frss%27&format=json): Failed to open stream: php_network_getaddresses: getaddrinfo for query.yahooapis.com failed: System error in /in/ef1Gb on line 11

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:
43.09 ms | 402 KiB | 8 Q