Re: Re: cvs: php4 /sapi/cgi cgi_main.c /sapi/cli php_cli.c

From: Date: Sat, 11 May 2002 01:45:12 +0000
Subject: Re: Re: cvs: php4 /sapi/cgi cgi_main.c /sapi/cli php_cli.c
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-83886@lists.php.net to get a copy of this message
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, derick@php.net 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


« previous php.dev (#83886) next »