ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Why PHP 5 Rocks!
Subject:   interfaces &__autoload
Date:   2006-07-06 00:51:44
From:   filip_gg
Response to: interfaces &__autoload

You can check on your interface with this function right here:


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)