| Article: |
Why PHP 5 Rocks! | |
| Subject: | interfaces &__autoload | |
| Date: | 2005-01-22 12:27:15 | |
| From: | hooda | |
|
I have been told that if I use interfaces in PHP 5 that it is important to define the class before you instantiate the object.
|
||
Showing messages 1 through 1 of 1.




interface_exists(string $interface, bool $autoload=TRUE)
Returns TRUE if $interface is
defined in the current script.
Unless $autoload is set to
FALSE, this function will
attempt to invoke
__autoload() (if defined)