Re: How to test phpversion() and function existence ?

From: Date: Mon, 27 Nov 2000 16:48:31 +0000
Subject: Re: How to test phpversion() and function existence ?
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-39294@lists.php.net to get a copy of this message
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@csh.rit.edu) . Rochester Inst. of Technology http://www.csh.rit.edu/~jon/ : Computer Science House Member

« previous php.dev (#39294) next »