Log in

View Full Version : PHP 6



Beau
08-11-2007, 07:25 AM
Was just googling around, and found this on Slashdot:



PHP is already being used for a long time, creating a big user base, but also a lot of bad habits. Bad habits often result in slow scripts or even security holes. But these bad habits are not always the cause of the developer. Of course, he (lets just assume were dealing with a stereotype developer here for simplicity's sake) is the one whos using it in his application, but sometimes the developer is not even aware hes using it.
Im, of course, talking about the register_globals (http://php.net/manual/en/security.globals.php) [php.net], magic_quotes (http://php.net/manual/en/security.magicquotes.php) [php.net] and safe_mode (http://php.net/manual/en/features.safe-mode.php) [php.net] functions. These three functions are hell for every PHP programmer so Im sure everyone will be happy to hear that these functions will disappear in PHP 6.



register_globals and safe_mode are good news. magic_quotes is good, but I think it may break a few things, security wise with some peoples scripts, who aren't adding addslashes() to their database queries already.



Discuss!

DeejayMachoo$
08-11-2007, 07:30 AM
Well forgetting everything about php 6 but i think its mabeh a little bit too soon?

lolwut
08-11-2007, 07:37 AM
I dont like it.

DeejayMachoo$
08-11-2007, 07:43 AM
I dont like it.

Explain isnt it it a good thing that magic_quotes is gone?

LegendOfNoob
08-11-2007, 04:01 PM
i wouldnt be talking about PHP6 php5 is just barely arising on th 18th and it will probally be 5 years consideirng PHP4 was for 4 years and etc back

Beau
09-11-2007, 05:18 AM
i wouldnt be talking about PHP6 php5 is just barely arising on th 18th and it will probally be 5 years consideirng PHP4 was for 4 years and etc back

Actually, PHP 6 will be out around the same time PHP 4 is to be obsolete (January 08)

LegendOfNoob
09-11-2007, 04:56 PM
hmm wierd how they rush things..knowing cPanel ill be fked because it will auto update and ill have to recode any php on my site >.<

Want to hide these adverts? Register an account for free!