Reply to Re: PHP5 Object and Class Errors

Your name:

Reply:


Posted by Chung Leong on 04/10/06 06:30

Nate wrote:
> I guess I really shouldn't use the term namespace, I suppose what I
> meant was reserved names, or things PHP has already used so it doesn't
> want you to use them.
>
> So, I'm still having the issues I described and my error level is set
> to E_ALL as well according to my php.ini file.
>
> I'll look more into my error reporting setup, but for now, using
> language constructs in objects causes my setup to fail silently with
> errors set to E_ALL, but it's nice to know that PHP will catch these
> errors if setup correctly and that objects can have methods whose names
> are the same as global function names.

I'm afriad you'll need to provide the actual code that causes the
problem, as well as the precise version number of PHP.

Using a reserved keyword would cause PHP to fail at the parsing stage,
so the scenario you described shouldn't happen. Also, names of global
functions are available as method names of a class.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация