Archive for php

Hebrew error

While I was programming logout part of school website in PHP I got strange error:
Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in /xxx/logout.php on line 3

After some Googling I found even more interesting thing: I did a search and found it used as the keyword for a french PHP manual entry, apparently "PAAMAYIM_NEKUDOTAYIM" means "two colons" ( : : ) in Hebrew. Hmm

But the strangest thing of all is that I don't have any colons in my code:

setcookie("cookie","", time()-(COOKIETIME*60));
unset(USERNAME);//Here is line 3

So now it seems that It isn't enough to speak english if you want to program, you have to speak Hebrew too. With this strange errors who said that programming isn't fun? 🙂

Leave a Comment