3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Use simple html dom include('simple_html_dom.php'); $temp = 'https://hockey.fantasysports.yahoo.com/hockey/63480/players?status=ALL&pos=C&cut_type=33&stat1=S_S_2014&myteam=0&sort=OR&sdir=1&count='.$page; $context = stream_context_create(array('http' => array('header' => 'User-Agent: Mozilla compatible'))); $response = file_get_contents($temp, false, $context); $html = str_get_html($response); echo $html;
Output for git.master, git.master_jit, rfc.property-hooks
Warning: include(): open_basedir restriction in effect. File(simple_html_dom.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/FFiZg on line 3 Warning: include(simple_html_dom.php): Failed to open stream: Operation not permitted in /in/FFiZg on line 3 Warning: include(): Failed opening 'simple_html_dom.php' for inclusion (include_path='.:') in /in/FFiZg on line 3 Warning: Undefined variable $page in /in/FFiZg on line 5 Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/FFiZg on line 7 Warning: file_get_contents(): open_basedir restriction in effect. File(https://hockey.fantasysports.yahoo.com/hockey/63480/players?status=ALL&pos=C&cut_type=33&stat1=S_S_2014&myteam=0&sort=OR&sdir=1&count=) is not within the allowed path(s): (/tmp:/in:/etc) in /in/FFiZg on line 7 Warning: file_get_contents(https://hockey.fantasysports.yahoo.com/hockey/63480/players?status=ALL&pos=C&cut_type=33&stat1=S_S_2014&myteam=0&sort=OR&sdir=1&count=): Failed to open stream: Operation not permitted in /in/FFiZg on line 7 Fatal error: Uncaught Error: Call to undefined function str_get_html() in /in/FFiZg:8 Stack trace: #0 {main} thrown in /in/FFiZg on line 8
Process exited with code 255.

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