3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php require_once 'http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php'; $img = sigJsonToImage(file_get_contents('http://rawgithub.com/thomasjbradley/signature-to-image/master/examples/signature-from-json/sig-output.json')); // Save to file //imagepng($img, 'signature.png'); // Output to browser header('Content-Type: image/png'); imagepng($img); // Destroy the image in memory when complete imagedestroy($img);
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: require_once(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in /in/pjVRr on line 2 Warning: require_once(http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php): failed to open stream: no suitable wrapper could be found in /in/pjVRr on line 2 Fatal error: require_once(): Failed opening required 'http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php' (include_path='.:') in /in/pjVRr on line 2
Process exited with code 255.
Output for hhvm-3.12.0
Fatal error: File not found: http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php in /in/pjVRr on line 2
Process exited with code 255.
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.2.0 - 5.2.17
Warning: require_once(): URL file-access is disabled in the server configuration in /in/pjVRr on line 2 Warning: require_once(http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php): failed to open stream: no suitable wrapper could be found in /in/pjVRr on line 2 Fatal error: require_once(): Failed opening required 'http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php' (include_path='.:') in /in/pjVRr on line 2
Process exited with code 255.
Output for 5.1.0 - 5.1.6
Warning: require_once(): php_network_getaddresses: getaddrinfo failed: System error in /in/pjVRr on line 2 Warning: require_once(http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php): failed to open stream: Connection refused in /in/pjVRr on line 2 Fatal error: require_once(): Failed opening required 'http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php' (include_path='.:') in /in/pjVRr on line 2
Process exited with code 255.
Output for 4.3.3 - 4.3.4, 4.3.10 - 4.4.9, 5.0.3 - 5.0.5
Warning: main(): php_network_getaddresses: getaddrinfo failed: System error in /in/pjVRr on line 2 Warning: main(http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php): failed to open stream: Connection refused in /in/pjVRr on line 2 Fatal error: main(): Failed opening required 'http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php' (include_path='.:') in /in/pjVRr on line 2
Process exited with code 255.
Output for 4.3.5 - 4.3.9, 5.0.1 - 5.0.2
Warning: main(): php_network_getaddresses: gethostbyname failed in /in/pjVRr on line 2 Warning: main(http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php): failed to open stream: Resource temporarily unavailable in /in/pjVRr on line 2 Fatal error: main(): Failed opening required 'http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php' (include_path='.:') in /in/pjVRr on line 2
Process exited with code 255.
Output for 5.0.0
Warning: main(): php_network_getaddresses: gethostbyname failed in /in/pjVRr on line 2 Warning: main(http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php): failed to open stream: Bad file descriptor in /in/pjVRr on line 2 Fatal error: main(): Failed opening required 'http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php' (include_path='.:') in /in/pjVRr on line 2
Process exited with code 255.
Output for 4.3.2
Warning: main(): php_network_getaddresses: getaddrinfo failed: System error (is your IPV6 configuration correct? If this error happens all the time, try reconfiguring PHP using --disable-ipv6 option to configure) in /in/pjVRr on line 2 Warning: main(http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php): failed to open stream: Connection refused in /in/pjVRr on line 2 Fatal error: main(): Failed opening required 'http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php' (include_path='.:') in /in/pjVRr on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: main() [http://www.php.net/function.main]: php_network_getaddresses: getaddrinfo failed: System error in /in/pjVRr on line 2 Warning: main(http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php) [http://www.php.net/function.main]: failed to create stream: Connection refused in /in/pjVRr on line 2 Fatal error: main() [http://www.php.net/function.main]: Failed opening required 'http://rawgithub.com/thomasjbradley/signature-to-image/master/sig-output.json/signature-to-image.php' (include_path='.:') in /in/pjVRr on line 2