a question of sport (php)

Associate
Joined
23 Oct 2002
Posts
1,525
Location
That London, née Brighton
Hello!

I've not been around these forums for quite some time, for some reason i thought my account was deleted when actually it was just my cookie, and my browser had remembered the wrong password so wouldn't login auto. D'oh! Anyway, introductions done with, here's what i needed to say:

I am, for the most part, far too busy writing things in PHP, to get any time to actually keep up to speed with developments in PHP itself. I've already perused the board somewhat and been quite shocked to find mention of a php6, when i haven't even gotten around to checking out 5 properly yet.

:eek:

Now i remember when php5 was a new kid on the block, and there was talk of it being slower than 4 due to the new object model, or something. For this reason we're still using 4, at the place i work. Is this actually the case or is it a bit of a myth?

I'm basically just posting in the hope someone can give me a brief overview of pros/cons of 5 versus 4. I am of course entirely willing to read stuff myself, I just don't know particularly where to look, so if this issue has been dealt with elsewhere (and if on these boards then i apologise for somehow not finding it when searching, and asking again), a URL would be great.

Thanks!

p.s. the 'compose post' page has got a lot nicer since i last used it! hooray for progress!
 
Tetsujin said:
Now i remember when php5 was a new kid on the block, and there was talk of it being slower than 4 due to the new object model, or something. For this reason we're still using 4, at the place i work. Is this actually the case or is it a bit of a myth?

Total myth.

Tetsujin said:
I'm basically just posting in the hope someone can give me a brief overview of pros/cons of 5 versus 4. I am of course entirely willing to read stuff myself, I just don't know particularly where to look, so if this issue has been dealt with elsewhere (and if on these boards then i apologise for somehow not finding it when searching, and asking again), a URL would be great.

I'm sure there's a better comparison somewhere, but the things that make me love PHP5 over PHP4:

Much improved OO model
mysqli
SimpleXML
file_put_contents (seems small, but it's oh-so useful)

Unless you're a phpBB user (ie a total annoying person :mad:) there's no reason whatsoever to use PHP4 over PHP5.
 
Back
Top Bottom