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
