Re: Program flow?
| From: | Jason Barnett | Date: | Tue, 01 Mar 2005 19:22:33 +0000 |
| Subject: | Re: Program flow? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209729@lists.php.net to get a copy of this message | ||
Richard Davey wrote:
> Hello Rory,
>
> Tuesday, March 1, 2005, 4:58:20 PM, you wrote:
>
> rw> Hi I have a one simple question that I need to sort out before I
> rw> continue writing any PHP scripts. Every time I call a script are the
> rw> variables reset to the default values?
>
> Yes this is nearly always the case unless you code around it.
>
> Best regards,
>
> Richard Davey
Yep. The only thing that might change would be $_SESSION variables, but
that's kind of the point of using a session. :) Or you could do
something crazy like create a specialized extension for storing state,
but almost no one does that and it certainly won't be in PHP by default.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc