Friday, August 12. 2005Suddenly 5.1 Isn't So ExcitingComments
Display comments as
(Linear | Threaded)
These are defintely some excellent suggestions and will be a great improvement for PHP. My question is though, is this it? Surely PHP 6 is not just going to be about Unicode support and tidying up some of PHP uglier parts. If you look at all the cool stuff added to PHP in version 5 isn't PHP 6 going to have more of the same scale improvements. I know its still early days for PHP 6 development so I'm just curious what else might be on the cards.
Ok, why is Unicode a big deal then? I'm not too familiar with it.
Unicode is what php lacked for ages. Its a great improvement but i would also like to see some more improvements to the OO part, to make it even more like other OO languages.
Some more things might be improvements to PDO
like to see a more enterprise bent - namespaces, templating, threads, messaging, more towards porting php to .net and java for seems interoperability between the two - gluecode for the web ( i know Perl ). Ruby on Rails model for quick MVC creation
QUOTE: I really hate cluttering up my (must-be-portable) code with stuff like "$var = get_magic_quotes_gpc() ? stripslashes($_GET['var']) : $_GET['var'];" So why not just use ini_set('magic_quotes_gpc',false);? Don't test for it every time you need a request parameter, just switch the damn thing off before you start coding!
you've obviously never actually DONE this.
by the time your code (the ini_set line) executes, PHP has already run the mechanism that takes requests and puts them in the variables.. so, your little trick has no effect. S
Sorry, my fault. I meant php_value in the .htaccess file (on apache). I use lighttpd and build php manually, so always switch it off in the ini.
Yes. I do this as well in environments I control..
however, to write portable code, or code that works in a "dirty" environment, you need to check magic_quotes_gpc. S |
Pay the bills...Calendar
QuicksearchArchivesMy PERSONAL BlogNote:
The contents of this blog are my own, PERSONAL opinion and do not represent the thoughts or opinions of the people I work with or for. If you have a beef with something I said, take it up with ME. Thanks (-: |
|||||||||||||||||||||||||||||||||||||||||||||||||
PHP is moving on towards gearing itself for PHP 6.0. Andrei started warning people to not commit to HEAD as he was about to start committing his Unicode support for PHP. He mentions in his blog post: The project that...
Tracked: Aug 15, 13:08