Markus Fischer wrote:
>     Hi,
> 
>     I've modified the out now to look something like
> 
>     $ php -v
>     PHP 4.3.0-dev (cli)
>     Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies
> 
>     Derick suggested also to add some other internal version
>     numbers like module about for both PHP and Zend.
> 
>     We just need to come up with a decent description of the
>     various numbers:
> 
>     ZEND_EXTENSION_API_NO
>     ZEND_MODULE_API_NO
>     PHP_VERSION_API

How about use the macro names?
For example, programmers may try to

find . -name "*.[ch]" | xargs grep -n "PHP_VERSION_API"

to see how API version macros are used.

--
Yasuo Ohgaki


> 
>     Note that the description should not be ambiguous with the
>     existing two ones so shell scripts don't have a hard time
>     parsing the requested version number.
> 
>     - Markus
> 
> On Fri, May 10, 2002 at 12:18:09PM +0200, [EMAIL PROTECTED] wrote : 
> 
>>On Fri, 10 May 2002, Markus Fischer wrote:
>>
>>[...]
>>
>>
>>>    Shouldn't we move the Zend Engine version output to php -v
>>>    too and let -m only list the modules -v only all the version
>>>    numbers ?
>>
>>Sounds like a good idea to me, and then we can also output the 3 different 
>>kidns of API NOs to php -v output.
>>
>>Derick
> 
> 



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to