Created September 2016, originally like 2008.

syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /var/www/vhosts/intranet.example.com/httpdocs/track/users.php on line 7

What generates this? It's PHP Code that is like this:

$unit = $BUM::HOURS;

... when it should be like this:

$unit = $BUM::$HOURS;

See Tokens in the PHP documentation. T_PAAMAYIM_NEKUDOTAYIM is also known as T_DOUBLE_COLON.

blog comments powered by Disqus