PHP version and Zend API Number
| From: | Michael B Allen | Date: | Tue, 20 Mar 2007 00:16:18 +0000 |
| Subject: | PHP version and Zend API Number | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-28476@lists.php.net to get a copy of this message | ||
Hi,
Is there a way to get the version of the PHP binary that loaded an
extension from within the extension? I don't mean the PHP version the
extension was compiled with (PHP_VERSION), I mean the version of the
PHP binary itself?
Can I call the phpversion function from within an extension?
Similarly is there a way to get the zend API version of the PHP binary
(not the version the extension was compiled with)?
Mike
--
Michael B Allen
PHP Active Directory SSO
http://www.ioplex.com/