888888.888888.88""Yb..dP"Yb..8888b..Yb..dP.88b.88....db....8b....d8.88..dP""b8..dP"Y8
88__...88__...88__dP.dP...Yb..8I..Yb.YbdP..88Yb88...dPYb...88b..d88.88.dP...`".`Ybo."
88""...88""...88"Yb..Yb...dP..8I..dY..8P...88.Y88..dP__Yb..88YbdP88.88.Yb......o.`Y8b
88.....888888.88..Yb..YbodP..8888Y"..dP....88..Y8.dP""""Yb.88.YY.88.88..YboodP.8bodP'


88b.88.888888.888888.Yb........dP.dP"Yb..88""Yb.88..dP
88Yb88.88__.....88....Yb..db..dP.dP...Yb.88__dP.88odP.
88.Y88.88"".....88.....YbdPYbdP..Yb...dP.88"Yb..88"Yb.
88..Y8.888888...88......YP..YP....YbodP..88..Yb.88..Yb

February 19, 2008

On Friday’s WordPress Weekly podcast we had a bit of a discussion about WordPress and PHP5. As this is a contentious subject I am not sure how well I explained myself on the podcast I have decided to expand on my thoughts here.

This is a subject that has sparked heated debate in the past and was resurected in the podcast as a result of Matt being asked about it in an interview at Yahoo. I have no desire to get it going in full blown style again, but this isn’t going to go away and eventually WordPress must change.

Straight up, I want WordPress to be PHP 5 minimum, because that is what I use, and what I know, but I want to be reasonable; I want to consider the needs of people who don’t care what version is used as long as it works, or those who are restricted because of their host. That causes me some problems and I am really caught between two opinions with no deciding factor between the two.

It really is hard to get across in text just quite how conflicted I am over these two points.

In the interview Matt stated that there are no killer features in PHP 5 that make upgrading really exciting and I largely agreed with that on the podcast, but I want to make a distinction here.

There are some great features in PHP 5, features that I think could bring a lot to WordPress. Features that increase security, make it easier to work with objects, make it easier to create ajax features and work with XML; however, if the figures on PHP 5 adoption are correct it seems hard to justfy these benefits when compared with the possibility that over 50% of users will find that they cannot upgrade, and those that do may well find their blogs inoperable with no idea why.

In that context I don’t see anything PHP 5 brings as do-or-die features.

If it were really up to me, I would just bite the bullet and do it. I would label the next version of WordPress after 2.5 with a minimum requirement of PHP 5 and make a big fuss about it to be sure no one missed it. I would tell users to ditch any hosts that have not upgraded.

WordPress 2.5 would have been ideal for this because there a lot of other big changes, why not get the big stuff out of the way? But it isn’t up to me.

Given that it isn’t up to me the next best solution is PHP 6 compatibility. I mentioned this in the podcast because I think it is important.

PHP 5 is for the most part PHP 4 compatible, but some of these compatibilities will not be there in PHP 6. The big one for me is that PHP 6 won’t support PHP 4 style object constructors, but I’m sure there will be other things.

Update: I can’t tell you where this information came from because I haven’t been able to work it out. Wherever I got it from it seems it just isn’t true. I was wrong. Nothing suggests that this will be the case and so we shall just have to wait and see what is or is not compatible when PHP 6 is released.

There is so much potential within PHP 5 that I think it would be a shame for WordPress to fall behind as a result of trying to maintain support. Competition is growing all the time, as is the temptation to jump ship.

I think there is a decision to make about whether WordPress should try and serve as many people as possible, or keep up with the technology to be the best it possibly can be. These may not be compatible and I am glad it isn’t my choice to make.

Wordpress Chat
Wordpress plugins chat?
3 comments
page 1308
Post Image The Easy Peasy Way
Calling for images using php wordpress?
26 comments
page 1065
3 Ways To Speed Up Your Blog Without A Cache Plugin
Comment on a few ways to speed up your blog?
one comment
page 1321
Updating Code Snippets Here
Code snippets?
one comment
page 1338
Fun With Theme Widgets
Funy photo widget?
24 comments
page 867
Quick N Dirty Admin Login Screen
Login page css templates?
no comment
page 128
Wpunlimited The Ultimate Wordpress Theme
Html5 wordpress?
3 comments
page 1141
Wpunlimited The Ultimate Wordpress Theme
Html5 wordpress?
3 comments
page 1141
Post Image The Easy Peasy Way
Wordpress attach image to multiple posts?
26 comments
page 1065
Using Your Own Url Shortener
Wordpress clear rewrite rules?
4 comments
page 1190
Quick N Dirty Category Redirection
Wordpress redirect category?
no comment
page 133
Premium Ithemes Review Photo Gallery
Ithemes review?
4 comments
page 226
Updating Code Snippets Here
Wordpress fun plugins?
one comment
page 1338
Updating Code Snippets Here
Wordpress fun?
one comment
page 1338
Theming Habari Vs Wordpress
How to design a habari theme?
13 comments
page 440
Why I Ditched Disqus
Disqus email?
5 comments
page 1175
Html 5 Gallery
Themeatic html5?
6 comments
page 1305
Post Image The Easy Peasy Way
Wordpress first image?
26 comments
page 1065
Quick N Dirty Admin Login Screen
login screen using css?
no comment
page 128
Html 5 Gallery
Picture gallery html5?
6 comments
page 1305
Post Image The Easy Peasy Way
Wordpress first image gallery?
26 comments
page 1065
Post Image The Easy Peasy Way
Resizing images in thecontent?
26 comments
page 1065
Html 5 Gallery
Html 5 photo gallery?
6 comments
page 1305
Post Image The Easy Peasy Way
Inserting an image url in comments?
26 comments
page 1065
Post Image The Easy Peasy Way
Wp attachment functions?
26 comments
page 1065
Dont Mess With My Toot Toot
Wordpress custom content?
16 comments
page 599
Using Your Own Url Shortener
String shortner?
4 comments
page 1190
Quick N Dirty Admin Login Screen
My admin login page?
no comment
page 128
Using Your Own Url Shortener
How to build a shortner link?
4 comments
page 1190
Post Image The Easy Peasy Way
Get post attacments?
26 comments
page 1065
Theming Habari Vs Wordpress
Habari vs wordpress?
13 comments
page 440
Are Child Themes The Best Option
Wp child themes?
15 comments
page 1262
Upload From Url
Upload to url?
6 comments
page 326
  1 query every 1220 seconds, updated 1 seconds ago.
Post a comment?