Re: [PHP-DEV] Re: PHP version and Zend API Number

2007-03-21 Thread Michael Wallner
Michael B Allen wrote: > The get_zend_version function returns a string like 'Zend Engine v1.3.0, > Copyright (c) 1998-2004 Zend Technologies\n'. It would be nice to be > able to get the ZEND_MODULE_API_NO (e.g. 20060613) the standard module > was compiled under. basic_function_module.zend_api mi

Re: [PHP-DEV] Re: PHP version and Zend API Number

2007-03-20 Thread Michael B Allen
On Tue, 20 Mar 2007 13:17:24 +0100 Michael Wallner <[EMAIL PROTECTED]> wrote: > Michael B Allen wrote: > > 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_

[PHP-DEV] Re: PHP version and Zend API Number

2007-03-20 Thread Michael Wallner
Michael B Allen wrote: > 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 fun