NYCPHP Meetup

NYPHP.org

[nycphp-talk] Manipulating $_REQUEST Directly

csnyder chsnyder at gmail.com
Thu Jul 19 11:15:59 EDT 2007


On 7/19/07, Peter Sawczynec <ps at sun-code.com> wrote:

> So what I need to know is:
>
> 1) By unsetting/eliminating $_REQUEST vars are we also actually unsetting/eliminating cookie vars at the same time.
>
> or
>
> 2) All these PHP arrays ($_REQUEST, $_GET, $_SESSION, $_COOKIE ... ...) are all independent of each other and carry their values discretely and basically sometimes in duplicate of each other. And manipulating the contents of one set of globals vars does not change the other set of global vars during this script run... or what?

I believe #2 to be the case. $_REQUEST is not populated by reference.

-- 
Chris Snyder
http://chxo.com/



More information about the talk mailing list