TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
View Poll Results: What version of PHP do you develop for?
PHP4 and PHP5 6 24.00%
PHP5 Only 19 76.00%
Voters: 25. You may not vote on this poll

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 01-12-2008, 08:27 PM   #1 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Application 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
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote
Old 01-12-2008, 08:32 PM   #2 (permalink)
The Addict
Top Contributor Good Samaritan 
 
Join Date: Jan 2008
Location: USA
Posts: 217
Thanks: 16
RobertK is on a distinguished road
Default

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.
__________________
Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning. - Rich Cook
RobertK is offline  
Reply With Quote
Old 01-12-2008, 09:34 PM   #3 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

PHP5 here.
Orc is offline  
Reply With Quote
Old 01-12-2008, 11:07 PM   #4 (permalink)
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

same here. php5
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
Old 01-12-2008, 11:39 PM   #5 (permalink)
The Wanderer
 
victorius's Avatar
 
Join Date: Nov 2007
Location: Denmark
Posts: 21
Thanks: 4
victorius is on a distinguished road
Default

go PHP5
Send a message via MSN to victorius
victorius is offline  
Reply With Quote
Old 01-12-2008, 11:46 PM   #6 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

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

Village Idiot is offline  
Reply With Quote
Old 01-13-2008, 12:18 AM   #7 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

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.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 01-13-2008, 01:10 AM   #8 (permalink)
The Frequenter
Prolific Welcomer Upcoming Programmer 
 
Join Date: Sep 2007
Posts: 360
Thanks: 24
Haris is on a distinguished road
Default

Started with PHP5.
__________________
Necessity is the mother of invention.

My blog
Haris is offline  
Reply With Quote
Old 01-13-2008, 11:47 AM   #9 (permalink)
The Contributor
 
dschreck's Avatar
 
Join Date: Nov 2007
Location: California
Posts: 82
Thanks: 0
dschreck is on a distinguished road
Default

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 ;)
dschreck is offline  
Reply With Quote
Old 01-13-2008, 03:00 PM   #10 (permalink)
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

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).
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
Old 01-13-2008, 03:08 PM   #11 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

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
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote
Old 01-14-2008, 09:00 PM   #12 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

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

Alan
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote
Old 01-19-2008, 09:52 PM   #13 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

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.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 01-19-2008, 10:49 PM   #14 (permalink)
The Acquainted
Inquisitive 
 
Join Date: Jul 2005
Location: UK
Posts: 121
Thanks: 41
Brook is on a distinguished road
Default

Quote:
Originally Posted by Haris View Post
Started with PHP5.
...Ditto :D
__________________
PS3 Forums on GameSlurp - the site for gaming fans!
Brook is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 04:03 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design