PHP equivalent of goto?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

from what I remember, you can turn off the superglobals in the ini.. I don't know why you'd want to, other than to eek out a tiny bit faster rendering time for whatever the hell the page does.. since some pages don't need the superglobals for anything..
User avatar
launchcode
Forum Contributor
Posts: 401
Joined: Tue May 11, 2004 7:32 pm
Location: UK
Contact:

Post by launchcode »

I don't think you can, well.. you could munge it from the variables_order INI setting, but I don't know if it'd flag a configuration error within PHP if you removed all of the EGPCS! I would hope it would :)
dave420
Forum Contributor
Posts: 106
Joined: Tue Feb 17, 2004 8:03 am

Post by dave420 »

Under php 4.3.something (not 5), it could get lost when including includes from includes, etc. PHP5 has fixed all the occasions I've needed to use it in the past, but since most hosting companies still use php4 (as they should), it's still needed for compatability.
Post Reply