Re: [PHP-DEV] How to test phpversion() and function existence ? From: Jon Parise (jon <email protected>)
Date: 11/27/00

On Fri, Nov 24, 2000 at 10:29:56PM +0100, Olivier Cahagne wrote:

> > > - the existence of a function ? For example, does this PHP setup has
> > > imap_open() ability ?
> >
> > function_exists('imap_open')
>
> Thanks, I was using it this way function_exists("imap_open") or
> function_exists("imap_open()") and got confused the manual examples.
> Maybe adding an example in the manual can be useful ?
 
I added an example to the manual a few days ago to help illustrate the
use of function_exists().

-- 
Jon Parise (jon <email protected>)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>