TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   What version of PHP do you develop for? (http://www.talkphp.com/general/1943-what-version-php-do-you-develop.html)

Alan @ CIT 01-12-2008 08:27 PM

What version of PHP do you develop for?
 
Hi all,

Just a little straw-poll here, I'm interested to know if you develop exclusivly for PHP5 or do you ensure that your scripts will run on PHP4?

For me, I develop exclusivly for PHP5 now, fully dropped PHP4 about 6 months ago. I do love that OOP :)

Alan

RobertK 01-12-2008 08:32 PM

I design for PHP5 now exclusively, having dropped development of PHP4 compatible software. PHP5 is so much closer to the model I'm used to in other languages it takes less mental "switch time" to get thinking in a different language.

Orc 01-12-2008 09:34 PM

PHP5 here.

xenon 01-12-2008 11:07 PM

same here. php5

victorius 01-12-2008 11:39 PM

go PHP5 ^^

Village Idiot 01-12-2008 11:46 PM

I dropped 4 when the PHP team announced they where dropping it.

Wildhoney 01-13-2008 12:18 AM

I've been coding in PHP 5 for well over a year now. There's far too much in PHP 5 to still stick with PHP 4. Of course, unless the client requests it. But it's just so difficult to remember what wasn't supported in PHP 4 - results in frequent visits to PHP.net.

Haris 01-13-2008 01:10 AM

Started with PHP5. ^^

dschreck 01-13-2008 11:47 AM

i started on php3. php4 came out just after i started, and now i prefer php5.

But as far as work goes, most of the things I write have to be written backwards compliant because so many of the clients are on 4, not 5. And some of the original framework versions are still in PHP3, but run on php4 and 5. And don't even get me started with the headache of MySQL versions...

So yeah... I'd love to say I'm "PHP5 Only!", but hey, businesses can't always move at the speed of technology ;)

xenon 01-13-2008 03:00 PM

And that's why it's always better to deliver solutions on your own web servers. That way, you don't need to write aged code and you can keep up with the coding standards and practices (although ALOT - if not all - of the big players in the web hosting business migrated to PHP 5 since september - october last year).

Alan @ CIT 01-13-2008 03:08 PM

With the exception of prototypes, I don't think that I've ever hosted a clients application. I'm a developer, not a web host - who needs that hassle :D

Alan

Alan @ CIT 01-14-2008 09:00 PM

Thanks for the votes all :) I had a slightly ulterior motive to this poll - I'll be using the stats in a blog post soon so the more people who vote the better :-D

Alan

ETbyrne 01-19-2008 09:52 PM

I wish everyone would just upgrade to PHP 5 but sadly a lot of web hosts still run PHP 4 so I make my code robust so that it works even on old versions of PHP and with or without magic quotes.

So my vote is both PHP 4 and 5.

Brook 01-19-2008 10:49 PM

Quote:

Originally Posted by Haris (Post 8335)
Started with PHP5. ^^

...Ditto :D


All times are GMT. The time now is 08:07 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0