[dev] Driver capability assertions
Chuck Hagenbuch
chuck@horde.org
Sat, 17 Feb 2001 08:48:17 -0500
Quoting Jon Parise <jon@csh.rit.edu>:
> I was thinking of adding capability assertions to those drivers that
> require non-standard PHP extensions. For example, I might add
> something like this to all of the LDAP drivers:
>
> if (!function_exists('ldap_connect')) {
> echo 'LDAP support is required by this driver.';
> exit;
> }
I agree that this is a good idea. We could even include links to
http://www.php.net/manual/ref.<extension>.php. =)
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"We have no fuel on board, plus or minus 8 kilograms." -A NASA scientist