Welcome Guest, Not a member yet? Register   Sign In
__construct() { issue for PHP4 and PHP5. maybe an another reason…
#7

[eluser]Zorancho[/eluser]
Instead of __construct() use function Home();
This is what the PHP manual says:
"For backwards compatibility, if PHP 5 cannot find a __construct() function for a given class, it will search for the old-style constructor function, by the name of the class. Effectively, it means that the only case that would have compatibility issues is if the class had a method named __construct() which was used for different semantics. "


Messages In This Thread
__construct() { issue for PHP4 and PHP5. maybe an another reason… - by El Forum - 08-11-2009, 06:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB