You are here: PHP5 Object and Class Errors « PHP Programming Language « IT news, forums, messages
PHP5 Object and Class Errors

Posted by n8agrin on 11/18/72 11:44

I've been doing some level of PHP programming for many years now, and
have in the past few months started implementing lots of the core PHP5
features into a new project, when I noticed some interesting issues
with objects and classes.

I'm having some problems with Object Oriented PHP5, namely when a class
isn't defined correctly no errors are produced during object
instantiation. For example if a method which violates a global
namespace is defined inside a class I cannot get PHP to throw an error
when that class is instantiated. PHP will catch simple errors such as
lines not ending in semicolons, but doesn't catch these more 'global'
issues.

Worst of all, in my example where I violate the namespace, the program
fatally dies and does so silently.

If anyone else has experienced this issue, or if anyone knows how to
get these types of errors to report themselves, it would be much
appreciated.

I'm sure this has been covered before and I just couldn't find the
answer to my question on the board.

Again, any help is much appreciated.

Thanks,
Nate

 

Navigation:

[Reply to this 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

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