Re: extension 4.0.6 -> 4.2.2
| From: | Rasmus Lerdorf | Date: | Mon, 29 Jul 2002 14:24:32 +0000 |
| Subject: | Re: extension 4.0.6 -> 4.2.2 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86299@lists.php.net to get a copy of this message | ||
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
>