3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php require("class.ping.php"); ping :: site("www.phpclasses.org", "Ping response of {site}: {time}"); ?>
Output for 5.1.0 - 7.1.0
Warning: require(class.ping.php): failed to open stream: No such file or directory in /in/hdHXV on line 2 Fatal error: require(): Failed opening required 'class.ping.php' (include_path='.:') in /in/hdHXV on line 2
Process exited with code 255.
Output for 4.3.2 - 5.0.5
Warning: main(class.ping.php): failed to open stream: No such file or directory in /in/hdHXV on line 2 Fatal error: main(): Failed opening required 'class.ping.php' (include_path='.:') in /in/hdHXV on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: main(class.ping.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/hdHXV on line 2 Fatal error: main() [http://www.php.net/function.main]: Failed opening required 'class.ping.php' (include_path='.:') in /in/hdHXV on line 2