$ php -r '::' Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM
$ php -r '::' Parse error: parse error in Command line code on line 1
Edit:
Hrm, if I try it on my DreamHost account, I get something more similar to yours:
$ php -r '::' Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in Command line code on line 1