NYCPHP Meetup

NYPHP.org

[nycphp-talk] retro php

Hans Zaunere hans at nyphp.org
Tue Oct 14 10:21:08 EDT 2003


>>Far simpler is to do this at the top of the script than to change all 
>>instances of your variables.:
>>
>>    $_SESSION = $HTTP_SESSION_VARS;

I'd go with:

$_SESSION = &$HTTP_SESSION_VARS;

This way if you change something in one of them you won't get two distinct copies of the variable.

H





More information about the talk mailing list