extension 4.0.6 -> 4.2.2
| From: | Robin Ericsson | Date: | Mon, 29 Jul 2002 06:52:20 +0000 |
| Subject: | extension 4.0.6 -> 4.2.2 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-86297@lists.php.net to get a copy of this message | ||
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