Re: cvs: php4 /main main.c

From: Date: Sat, 02 Mar 2002 11:23:34 +0000
Subject: Re: cvs: php4 /main main.c
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-80598@lists.php.net to get a copy of this message
Hartmut Holzgraefe wrote:
Edin Kadribasic wrote:
edink        Fri Mar  1 14:29:36 2002 EDT
  Modified files:                  /php4/main    main.c   Log:
Added PHP_SAPI constant which contains the name of running SAPI. @- Added PHP_SAPI constant which contains the name of running SAPI. (Edin)
do we really need a constant for that? we already have php_sapi_name() (http://php.net/sapi)
I asked about adding PHP_SAPI constant in php-dev. Nodoby answered nor objected. Edin asked me if I will add it or not, and asked him to add. We have PHP_VERSION & phpversion(). We have zend_version(), but not ZEND_VERSION. Now we have php_sapi_name() and PHP_SAPI. I would like to have ZEND_VERSION. (IMHO, we should defined them as constant in first place) -- Yasuo Ohgaki

« previous php.dev (#80598) next »