Re[3]: [PHP] Skipping function arguments!
| From: | Richard Davey | Date: | Thu, 28 Apr 2005 14:52:19 +0000 |
| Subject: | Re[3]: [PHP] Skipping function arguments! | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-214099@lists.php.net to get a copy of this message | ||
RD> As that code stands, even with register globals on, it will not echo
RD> 22. At least on PHP 4.3.11 on my server this is the case. I guess RG
RD> makes all variables global, but not super-global, which leaves the
RD> above safe as the null of $total overrides whatever may have been set.
Err, replace $total with $first in my comment above.
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I do not fear computers. I fear the lack of them." - Isaac Asimov