Re: PHP 5.1
| From: | Zeev Suraski | Date: | Wed, 08 Jun 2005 06:53:52 +0000 |
| Subject: | Re: PHP 5.1 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16544@lists.php.net to get a copy of this message | ||
At 23:06 07/06/2005, Andrey Hristov wrote:
Quoting Ondrej Ivani? <ondrej@kmit.sk>:I have to say I'm pretty much with Andrey, what you (Ondrej) wrote is not at all what I had in mind. The procedural part of PHP isn't going anywhere. ZeevZeev Suraski wrote:WTF?!? If you need Java, then go use Java. If you want String object, do it yourself.damage than good. And the fact we may have made mistakes in the past and have unnecessary constructs already, doesn't mean we should do it again.Yes, PHP is on the right way. PHP is on the begin of moving from functional to full 00 code. IMHO in 00 code there isn't place for a 'goto' (,but if community need 'goto' i prefer labeled break/continue. It's enough) or others strange language construct. My wishlist for future is: - more, more interfaces at engine level or in SPL- "replace" __sleep(), __wakeup() - interfaces like DatabaseConnection, DatabaseResultSet,DatabaseResult, ... (???) which can be implements in database wrappers or in PDO - wrap some string functions into class- new String(string [,encoding]) - String.explode(), ... - simple way to deal with Unicode, i don't need full support in ZE - foreach(new String('test') as $char) // iterators- create super global objects like Request/Response- good place for wrap ifsetor(), filtering like Response.getNumber(name[, default]) PS. if community need -> create it, but don't repeat mistakes :)