May
10
2007

An unexpected WHAT?

I’ve just been doing some PHP programming and the following error came up:

Parse error: parse error, unexpected ‘)’, expecting T_PAAMAYIM_NEKUDOTAYIM in /home/foo/bar/baz.php on line 81

Turns out that Paamayim Nekudotayim means ‘double colon’ in Hebrew and is the official name of the scope resolution operator. I guess it’s the PHP developers’ idea of a joke…

Anyway, the cause of the error in my case was a dollar sign missing from the front of a variable.

Share this post:
  • Reddit
  • Digg
  • Twitter
  • email

Written by Chris Barnes in: PHP | Tags: ,

No Comments »

RSS feed for comments on this post. TrackBack URL


Leave a Reply

Proudly powered by WordPress and W2-S Internet Services. Design based on Aeros Theme by TheBuckmaker.com.