<?php
###################################################
// Ping Class supplied by Antido @ phpclasses.org #
// You are free to modify as you wish :) #
// #
// Ping? Pong! #
###################################################
require("class.ping.php");
ping :: site("www.phpclasses.org", "Ping response of {site}: {time}"); // Where {site} will be replaced with the pinged site
// And {time} will be replaced with the time in ms
?>
Warning: require(): open_basedir restriction in effect. File(class.ping.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/u3KqX on line 9
Warning: require(class.ping.php): Failed to open stream: Operation not permitted in /in/u3KqX on line 9
Fatal error: Uncaught Error: Failed opening required 'class.ping.php' (include_path='.:') in /in/u3KqX:9
Stack trace:
#0 {main}
thrown in /in/u3KqX on line 9
Process exited with code 255.
Output for 8.0.13
Warning: require(class.ping.php): Failed to open stream: No such file or directory in /in/u3KqX on line 9
Fatal error: Uncaught Error: Failed opening required 'class.ping.php' (include_path='.:') in /in/u3KqX:9
Stack trace:
#0 {main}
thrown in /in/u3KqX on line 9
Process exited with code 255.
Warning: require(class.ping.php): failed to open stream: No such file or directory in /in/u3KqX on line 9
Fatal error: require(): Failed opening required 'class.ping.php' (include_path='.:') in /in/u3KqX on line 9
Process exited with code 255.
Warning: require(): open_basedir restriction in effect. File(class.ping.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/u3KqX on line 9
Warning: require(class.ping.php): failed to open stream: Operation not permitted in /in/u3KqX on line 9
Fatal error: require(): Failed opening required 'class.ping.php' (include_path='.:') in /in/u3KqX on line 9
Process exited with code 255.
Warning: main(class.ping.php): failed to open stream: No such file or directory in /in/u3KqX on line 9
Fatal error: main(): Failed opening required 'class.ping.php' (include_path='.:') in /in/u3KqX on line 9
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/u3KqX on line 9
Fatal error: main() [http://www.php.net/function.main]: Failed opening required 'class.ping.php' (include_path='.:') in /in/u3KqX on line 9