Re: The "goto" discussion on the Internals List

From: Date: Tue, 07 Jun 2005 14:27:00 +0000
Subject: Re: The "goto" discussion on the Internals List
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-216557@lists.php.net to get a copy of this message
Jason Barnett wrote:
I agree 100% with Greg's comments for the goto() / ifsetor() discussion on the internals list. As far as speed goes if the dev team knew of ways to improve specific parts of the codebase (while maintaining the rest of the features available in PHP) then I'm confident they would make that change. There was one comment on the internals list that perhaps the documentation should have a big fat red warning label that says "DO NOT USE THIS UNLESS YOU REALLY KNOW WHAT YOU'RE DOING". I guess the developers assume users actually read the manual, but I think this list has proved time and again that end users don't do this. ;) This is especially true for newbies (i.e. the ones most likely to get burned by using goto() all over their code). PHP-dev team: at the moment you are supplying me with 95% of the features that I need with a base installation. Just focus on getting Unicode support, make it stable, and make it fast.
and fix whatever it is that causes failed require_once statement to segfault ( there are other instances where simple syntax errors causes segfaults - the really annoying thing is that I/you get no logs, no errors, nothing - not very easy to debug) ... this has been true since php5 beta funny thing is I only see it happening in very complex scripts, which means its obviously not a real bug because I can't create a short reproduce script - (slight dig at someone there) both goto and ifsetor (and a whole host of other stuff like PDO) I can miss, whereas proper unicode support, better datetime handling and more indepth/usuable documentation on php5 are things I am really looking forward to... like rather than giving us even more features why not give us some good/complex examples of the newer features (SPL, Exceptions, etc, etc) and give us the knowledge we need to leverage the tools we already have.
heh Jason, your sig will require a new item ;-): 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 GOTO | heh noob don't use 'goto'.

« previous php.general (#216557) next »