Re: The "goto" discussion on the Internals List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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'.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux