[PHP-DEV] extension 4.0.6 - 4.2.2

2002-07-29 Thread Robin Ericsson

Hi,


I'm began converting a module I wrote for 4.0.6, and I use this code:

if ((zend_hash_find(EG(symbol_table), HTTP_SERVER_VARS,
sizeof(HTTP_SERVER_VARS), (void **) data) != FAILURE) 
Z_TYPE_PP(data) == IS_ARRAY)


In 4.2.x, I just change this to _SERVER, or is there another fancier
way of doing this?


best regards
Robin



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




Re: [PHP-DEV] extension 4.0.6 - 4.2.2

2002-07-29 Thread Rasmus Lerdorf

HTTP_SERVER_VARS are still around

On 29 Jul 2002, Robin Ericsson wrote:

 Hi,


 I'm began converting a module I wrote for 4.0.6, and I use this code:

 if ((zend_hash_find(EG(symbol_table), HTTP_SERVER_VARS,
 sizeof(HTTP_SERVER_VARS), (void **) data) != FAILURE) 
 Z_TYPE_PP(data) == IS_ARRAY)


 In 4.2.x, I just change this to _SERVER, or is there another fancier
 way of doing this?


 best regards
 Robin



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



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