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
> On Thu, May 09, 2002 at 09:36:45AM -0000, Sander Roobol wrote :
> > sander Thu May 9 05:36:45 2002 EDT
> >
> > Modified files:
> > /php4/sapi/cgi cgi_main.c
> > /php4/sapi/cli php_cli.c
> > Log:
> > Added the current SAPI to the output of php -v
> >
> >
> > Index: php4/sapi/cgi/cgi_main.c
> > diff -u php4/sapi/cgi/cgi_main.c:1.161 php4/sapi/cgi/cgi_main.c:1.162
> > --- php4/sapi/cgi/cgi_main.c:1.161 Thu May 2 13:19:42 2002
> > +++ php4/sapi/cgi/cgi_main.c Thu May 9 05:36:43 2002
> > @@ -875,7 +875,7 @@
> > SG(headers_sent) = 1;
> > SG(request_info).no_headers =
>1;
> > }
> > - php_printf("%s\n", PHP_VERSION);
> > + php_printf("%s (%s)\n", PHP_VERSION,
>sapi_module.name);
> > php_end_ob_buffers(1 TSRMLS_CC);
> > exit(1);
> > break;
> > Index: php4/sapi/cli/php_cli.c
> > diff -u php4/sapi/cli/php_cli.c:1.20 php4/sapi/cli/php_cli.c:1.21
> > --- php4/sapi/cli/php_cli.c:1.20 Sun May 5 13:11:04 2002
> > +++ php4/sapi/cli/php_cli.c Thu May 9 05:36:45 2002
> > @@ -523,7 +523,7 @@
> > SG(headers_sent) = 1;
> > SG(request_info).no_headers = 1;
> > }
> > - php_printf("%s\n", PHP_VERSION);
> > + php_printf("%s (%s)\n", PHP_VERSION, sapi_module.name);
> > php_end_ob_buffers(1 TSRMLS_CC);
> > exit(1);
> > break;
> >
> >
> >
> > --
> > PHP CVS Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> 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
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
---------------------------------------------------------------------------
Did I help you? http://www.jdimedia.nl/derick/link.php?url=giftlist
Frequent ranting: http://www.jdimedia.nl/derick/
---------------------------------------------------------------------------
PHP: Scripting the Web - [EMAIL PROTECTED]
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---------------------------------------------------------------------------
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php