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

From: Date: Sat, 11 May 2002 04:55:01 +0000
Subject: Re: Re: cvs: php4 /sapi/cgi cgi_main.c /sapi/cli php_cli.c
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-83896@lists.php.net to get a copy of this message
On Sat, May 11, 2002 at 12:33:21AM -0400, Dan Kalowsky wrote : > On Sat, 11 May 2002, Markus Fischer wrote: > > > > $ php -v > > PHP 4.3.0-dev (cli) > > Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies > > PHP_VERSION_API 20020510 > > ZEND_EXTENSION_API_NO 20020510 > > ZEND_MODULE_API_NO 20020510 > > While this may look ugly, I'd say stick with this option. It's more of an > understood standard for all end users. But I question what use > PHP_VERSION_API, ZEND_EXTENSION_API_NO, and ZEND_MODULE_API_NO are going > to be for anyone outside of PHP language developers. Is it possible to > have multiple versions (i.e. ZEND_MODULE_API_NO) per release? Consdering > most (if not all) all endusers will be using a release version, this may > be a case of too much useless information. Someone came up that it may be a use for PECL modules (or any C extension) which relies on a certain API number. Maybe Stig can see a use for it? Blame Derick who came up with the idea (I think ? :-) *hides*. Multiple version of any of those mentioned API numbers are not possible per release (it's only a #define, nothing more). > > > $ php -vv > > PHP 4.3.0-dev (cli) > > Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies > > PHP_VERSION_API 20020510 > > ZEND_EXTENSION_API_NO 20020510 > > ZEND_MODULE_API_NO 20020510 > > > > Or is this just unnecessary bloat and let's fire all versions > > we have to standard output with -v ? > > This just looks bad. What is -vv? It really doesn't follow any standard > options for people. Which standard ? :) Anyway, It's quite common to have multiple occurences of the same option additionally enhance the option, e.g. rpm: $ rpm --help|grep verbose -v - be a little more verbose -vv - be incredibly verbose (for debugging) > -1 to the -vv option. - Markus > kalowsky@nospam-php.net Btw, jimw has activated the new anti-spam feature also for user@php.net adressed (just in case ... ) -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc "I'm not stupid, you know? :)" - Jani Taskinen

« previous php.dev (#83896) next »