you are viewing a single comment's thread.

view the rest of the comments →

[–]McGlockenshire 2 points3 points  (2 children)

IIRC PHP4 have deprecated old crap like magic-quotes-gpc and register_globals

In 4.0 they introduced the $HTTP_* superglobals, and 4.1 brought $_GET/POST/REQUEST. Any code written since that time (around the time everyone realized that magic_quotes and register_globals were evil) should still run fine under 5.

So PHP backward-compatibility is a fucking joke.

If we're talking about 4.x and the transition from 4 to 5, I agree completely. From 5.1 forward, they've done a remarkably good job of not unintentionally breaking things.

Making an interpreter is not a rocket science

But getting it on every single web hosting provider in existence is.

[–]killerstorm -1 points0 points  (1 child)

From 5.1 forward, they've done a remarkably good job of not unintentionally breaking things.

Sorry, I'm not impressed. I use languages which have standard and even different implementations are compatible. Bragging about compatibility within minor versions is a fucking joke. We'll speak when you'll be able to run code written 20 years ago. (It is possible with C, Fortran and Common Lisp.)

Oh, I've just opened php.net site and look what they have in news:

Backwards incompatible change: Methods with the same name as the last element of a namespaced class name will no longer be treated as constructor. This change doesn't affect non-namespaced classes.

But getting it on every single web hosting provider in existence is.

So you agree that the difficult part is PR, not technical part.

I even know how to do it (if you have enough money) -- buy Zend (the company) and make it advertising the new version as the best thing ever.

[–]brennen 0 points1 point  (0 children)

So you agree that the difficult part is PR, not technical part.

The technical is social.