3v4l.org

run code in 300+ PHP versions simultaneously
<?php $phone = 10000000; $phone2 = 20000000; while($phone <= $phone2) { $fp = fsockopen("http://reklamation.fk.dk/fk_reklamation/DataServlet?do=tlflookup&firmanr=7&lang=da&telefonnr=", 80, $errno, $errstr, 30); while (!feof($fp)) { echo fgets($fp, 128); } fclose($fp); $phone++; }
Output for git.master, git.master_jit
Warning: fsockopen(): Unable to connect to http://reklamation.fk.dk/fk_reklamation/DataServlet?do=tlflookup&firmanr=7&lang=da&telefonnr=:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/94UvG on line 5 Fatal error: Uncaught TypeError: feof(): Argument #1 ($stream) must be of type resource, bool given in /in/94UvG:6 Stack trace: #0 /in/94UvG(6): feof(false) #1 {main} thrown in /in/94UvG on line 6
Process exited with code 255.
Output for rfc.property-hooks
Warning: fsockopen(): Unable to connect to http://reklamation.fk.dk/fk_reklamation/DataServlet?do=tlflookup&firmanr=7&lang=da&telefonnr=:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /in/94UvG on line 5 Fatal error: Uncaught TypeError: feof(): Argument #1 ($stream) must be of type resource, false given in /in/94UvG:6 Stack trace: #0 /in/94UvG(6): feof(false) #1 {main} thrown in /in/94UvG on line 6
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:
38.53 ms | 401 KiB | 8 Q