3v4l.org

run code in 300+ PHP versions simultaneously
<?php $size = getimagesize("http://i1-win.softpedia-static.com/screenshots/Nokia-Monitor-Test_1.png"); $fp = fopen($filename, "rb"); if ($size && $fp) { header("Content-type: {$size['mime']}"); fpassthru($fp); exit; } else { // error }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: getimagesize(): php_network_getaddresses: getaddrinfo for i1-win.softpedia-static.com failed: System error in /in/udp5A on line 2 Warning: getimagesize(http://i1-win.softpedia-static.com/screenshots/Nokia-Monitor-Test_1.png): Failed to open stream: php_network_getaddresses: getaddrinfo for i1-win.softpedia-static.com failed: System error in /in/udp5A on line 2 Warning: Undefined variable $filename in /in/udp5A on line 3 Deprecated: fopen(): Passing null to parameter #1 ($filename) of type string is deprecated in /in/udp5A on line 3 Fatal error: Uncaught ValueError: Path cannot be empty in /in/udp5A:3 Stack trace: #0 /in/udp5A(3): fopen('', 'rb') #1 {main} thrown in /in/udp5A on line 3
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:
41.35 ms | 402 KiB | 8 Q