onPHP5.com

PHP5: Articles, News, Tutorials, Interviews, Software and more
  
Featured Article:
Learning PHP Data Objects
 
 
Thu, 24 Jul 2008
 Home   About   Contribute   Contact Us   Polls  RSS feed-icon-10x10.gif
Top Tags
article book conference mysql mysqli news onphp5 oop pdo php5 poll prado security solar symfony unicode zend zend core zend framework zend platform
More tags »

Not logged in
Login | Register


Articles: oop

What Our Users Are Saying

Sam on Exceptions in __autoload()
Wednesday, 02 July 2008, 20:31
Watch out when running eval with __autoload. $classname isn't guaranteed to be a syntactically correct... more »

dennisp (editor) on Exceptions in __autoload()
Sunday, 25 May 2008, 10:26
In reply to #5: Jacob, there is such function in PHP5.3. There aren't namespaces in... more »

Jacob on Exceptions in __autoload()
Monday, 19 May 2008, 20:58
There is no such magic function as __callstatic in PHP. There never was one.... more »

Exceptions in __autoload()

By dennisp | views: 3832 | comments: 7 | on Wednesday, 19 December 2007, 20:34

There's been many talks on exceptions cannot be thrown from the __autoload() function, as well as many times the workarounds have been discussed (all using the eval() trick to automatically define the missing class). Here I will talk about negative effects of such workarounds as well as suggest a somewhat "better" workaround (but still based on the eval() functionality and ready for namespaces).

Most Important Feature of PHP 5?

By dennisp | views: 2220 | on Wednesday, 24 January 2007, 07:40

The International PHP Magazine was conducting a poll to name the most important feature of PHP5. The winner was better OOP support



© 2008 onPHP5.com