PHP Classes

This will crash if the class has no __construct method or one...

Recommend this page to a friend!

      QDispatcher  >  All threads  >  This will crash if the class has no...  >  (Un) Subscribe thread alerts  
Subject:This will crash if the class has no...
Summary:Package rating comment
Messages:1
Author:Fabian Schmengler
Date:2010-10-18 14:46:30
 

Fabian Schmengler rated this package as follows:

Utility: Not sure
Consistency: Sufficient

  1. This will crash if the class has no...   Reply   Report abuse  
Picture of Fabian Schmengler Fabian Schmengler - 2010-10-18 14:46:31
This will crash if the class has no __construct method or one without parameters. Also constructors named like the class are still valid and _not_ deprecated. You should have a look at ReflectionClass::getConstructor()