Computersight > Programming > PHP

PHP Founders Forget Hebrew Error Messages Within PHP Core

What would an error message titled T_PAAMAYIM_NEKUDOTAYIM means to you?

The funniest thing happened to me today. I was coding a PHP script and made a terrible mistake. Instead of coding "parent::init();" I added an unnecessary $ sign and it showed: "$parent::init();".

When tested it for the first time I received the most weird error message:

T_PAAMAYIM_NEKUDOTAYIM? What is this? Malaysian? Chinese? An ancient Amazon dialect?

Well, the answer is very funny. It appears that original PHP code had been developed by 2 Israelis, whose language is Hebrew. This is Hebrew for "Double Colon". Here is what PHP site has to say about this:

The original Israeli coders just forgot some Hebrew within the internals of the language, and by now it's too late to change…

All I did was coding:

$parent::init();

Instead of this:

parent::init();

The parser couldn't understand what I wanted when entering the double colon… - sorry, PAAMAYIM_NEKUDOTAYIM…

4
Liked It
I Like It!
Related Articles
Zend Platform Installation Tip with Apache and SELinux  |  PHP's Benefits
More Articles by Adriano
Zend Platform Installation Tip with Apache and SELinux
Latest Articles in PHP
PHP Tutorial: Printing on the Screen  |  The Basics of PHP
Comments (0)
Post Your Comment:
Name:  
Copy the code into this box:  
Inside Computersight

Communication & Networks

 /

Computers

 /

Hardware

 /

Operating Systems

 /

Programming

 /

Software


Popular Tags
Popular Writers
Computersight
About Us
Terms of Use
Privacy Policy
Services
Submit an Article
Advertise with Us
Contact

© 2007 Copyright Stanza Ltd. All Rights Reserved.