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


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

Reply via email to