Error:
Parse error: syntax error, unexpected T_STRING in ...Ping.php on line 3
In code:
<?php
namespace JJG; // line 3
class Ping {
private $host;
private $ttl;
//...
}
I expect the class will work fine, as provided https://github.com/geerlingguy/Ping
But the actual output is:
Parse error: syntax error, unexpected T_STRING in ...Ping.php on line 3
Ping.phpfile (thenamespace JJG;should be line 24). What else have you changed?