3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = fopen("http://dl2.fileswap.com/download/?id=2GODxaob1eMfta1pzHnbvp7mhcQ13bDuF%2FmPyxsN5GkWXZ%2FBNy94G0hFsPKPyxc2%2BkLV1ypIWbh6y5TOYeXmsld8i3DRzImytcA4kJqfJFshZ7zKPXYSx0LKwYMrldSf&h=7465ce61c7ed37dbd3634ceb9933447c&t=52efbf1a", "rb"); $signature = fread($this->fileHandle, 3); if ($signature[0] === chr(0x46) && $signature[1] === chr(0x4C) && $signature[2] === chr(0x56)) { var_dump("YAY, it's an FLV"); }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: fopen(): php_network_getaddresses: getaddrinfo for dl2.fileswap.com failed: System error in /in/AXmvu on line 3 Warning: fopen(http://dl2.fileswap.com/download/?id=2GODxaob1eMfta1pzHnbvp7mhcQ13bDuF%2FmPyxsN5GkWXZ%2FBNy94G0hFsPKPyxc2%2BkLV1ypIWbh6y5TOYeXmsld8i3DRzImytcA4kJqfJFshZ7zKPXYSx0LKwYMrldSf&h=7465ce61c7ed37dbd3634ceb9933447c&t=52efbf1a): Failed to open stream: php_network_getaddresses: getaddrinfo for dl2.fileswap.com failed: System error in /in/AXmvu on line 3 Fatal error: Uncaught Error: Using $this when not in object context in /in/AXmvu:5 Stack trace: #0 {main} thrown in /in/AXmvu on line 5
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.73 ms | 402 KiB | 8 Q