|
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.
Navigation:
[Reply to this message]
|