Ferodynamics Network

popular: profile privacy, mobile privacy

November 17, 2007

PHP 5 has been around for a long time now but it still isn’t getting the takeup that you would expect from the newest version of one of the most popular languages around. There has been some debate about WordPress and PHP 5 over the past 6 months, and I couldn’t go as far as some of them and suggest ignoring PHP 4, but that’s not to say the advantages in PHP 5 should be ignored either.

PHP 5 offers some advantages over PHP4: Better database support, better xml support, better object support not to mention that PHP 6 is not massively distant and will not be as backward compatible as version 5 so any step in the right direction must be a good thing, right? The changes will need to happen eventually.

Because of this, and the fact that I quite like PHP 5, I would quite like to see a PHP 5 only version to run along side the current version.

The benefit of this approach is that, as it is already PHP 5 compatible, nothing needs to change just yet. Just be separate.

I think there would be benefits in freeing up developers who want to work in PHP5 to offer additional (core or otherwise) functionality for that version only. They would be free then to optimise for 5, rather than just being compatible with 5, and to produce plugins that worked on that version alone.

Part of me likes to think that if these developers hit on a seriously good piece of funcationality that this would help drive migration to PHP5 as self-hosters looked for hosts with the appropriate installations but that might well be wishful thinking on my part.

What do you think? do you care? is it too much effor for too little gain? is it a good idea? let me know.

Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Silence Is Golden
3 comments
page 213
Questions About Habari For Wordpress Users
6 comments
page 424
Theming Habari Vs Wordpress
13 comments
page 440
My Experience Of Flexx
4 comments
page 1026
Plugin Update Fun With Photo Data 2
one comment
page 815
Post Image The Easy Peasy Way
26 comments
page 1065
Categories Vs Tags Either Neither Or Both
12 comments
page 7
Gaining Benefits From Plugins
8 comments
page 1167
Fun With Theme Widgets
24 comments
page 867
Beware Wp Cache
8 comments
page 1310
Six Million Ways To Die Choose One
14 comments
page 1128
Post Image The Easy Peasy Way
26 comments
page 1065
Post Image The Easy Peasy Way
26 comments
page 1065
Wordpress Chat
one comment
page 1308
Post Image The Easy Peasy Way
26 comments
page 1065
Beware Wp Cache
8 comments
page 1310
Wordpress Chat
one comment
page 1308
Wp Polls Reviewed
one comment
page 58
Fun With Photo Data
12 comments
page 330
Html 5 Gallery
6 comments
page 1305
Fun With Sidebar Tabs Styling
2 comments
page 336
Using Your Own Url Shortener
4 comments
page 1190
Html 5 Gallery
6 comments
page 1305
My Experience Of Flexx
4 comments
page 1026
Fun With Sidebar Tabs
193 comments
page 57
Html 5 Gallery
6 comments
page 1305
Fun With Plugins
27 comments
page 14
Wordpress 25 Exif Fields
12 comments
page 230
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Beware Wp Cache
8 comments
page 1310
Quick N Dirty Replacement Text
no comment
page 122
Theming Habari Vs Wordpress
13 comments
page 440
Fun With Sidebar Tabs Styling
2 comments
page 336
  updated 1 seconds ago
Thursday, 6pm
Andrew Rickmann

But of course now there is an answer – Habari.

Thursday, 3pm
Stephen

All my new developments are php5… OOP in php5, xml, mysqli, pattern based architecture etc are much better.

…but so much is still php4 (and the damn & for objects by reference).

Making something php5.2 compatable is not the same as being written for php5 . Not even close.

Better to start from scratch & call it something different!

S

Wednesday, 6am
Compare Free Web Hosting

anybody here know of a good site to find more info on compare free web hosting? I\’ve got this site bookmarked and im gonna keep checking it out, but i still would like to find a site that covers compare free web hosting a little more thoroughly..thanks

Thursday, 1pm
PHP 5 Only Plugins: Good, Bad, Evil?

[...] little while back I asked whether WordPress should produce an explicitly PHP 5 only version. Reaction was mixed, but ultimately I think Matt has some good reasons for not doing so. This has [...]

Thursday, 11am
Why Foliopress WSYIWYG will be PHP5 Only

[...] PHP5 Only Version? [...]

Saturday, 4pm
Andrew Rickmann

I share your desire Damian but I am perhaps not so optomistic. I guess we will have to wait and see.

Saturday, 4pm
Damian Manifold

As a plug-in developer for WordPress I’ve been itching to use some of the class stuff that PHP 5 provides. Up till now I haven’t looked to deeply into what else is available since i could not use.
Whilst navigating PHP.net noticed a post from last may saying announcing the end of support of php 4 at the end of the year.
After checking wish my host, they are upgrading my PHP at the end of the year too.
With the end of support I’d be interested to find out how many people will still be left on PHP 4. I would hope none.

Monday, 6pm
Andrew Rickmann

Amit, I agree that it would not be a good plan to abandon PHP4 right now.

I guess all I am really suggesting is that there may be benefits in making moves in that direction.

Monday, 3pm
Amit Bhawani

Well being a web hosting company i would suggest wordpress not to upgrade to php 5 right now :p, you understand the reason right :p
May be after a year this can happen because right now php4 is ok for everyone i guess.

Sunday, 10am
Andrew Rickmann

Di, it certainly might slow down development, but on the other hand it might encourage development that wouldn’t have happened otherwise. The former is probably more likely though.

In all honesty if my host hadn’t already switched to PHP 5 I think I would feel as you do, that it is not worth the effort.

What sways it for me though is that I really like PHP as a language, but it is missing things when you compare it to the big hitters like C#, and Java. PHP 5 is much closer, PHP 6 even more so, and I really want to use these features.

Sunday, 1am
Di Turner

Maintaining two versions of WordPress would surely slow down development of new features.

I don’t think making it PHP5 only would compel me to upgrade as fundamentally I’m lazy and it would be too much of a hassle to move my site and email to new hosting.