![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
View Poll Results: Do you use PHP4 or PHP5? | |||
PHP4 |
![]() ![]() ![]() ![]() |
26 | 72.22% |
PHP5 |
![]() ![]() ![]() ![]() |
10 | 27.78% |
Voters: 36. You may not vote on this poll |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: May 2001
Location: Denmark
Posts: 146
|
Do you use PHP4 or PHP5?
I posted the same little survey on another board. It would be great to know what the GFY users prefer, so please spare two mins of your time and help me and other php developers.
Do you use PHP4 or PHP5? How to check your server:
Note: If your PHP is older than 4.3.7 it is definitely time to upgrade. Contact your host. Info: Currently newest versions are 5.0.4 and 4.3.11. Thanks for your help. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
|
php4.. php5 is still not stable enough for important stuff.. give it 3-6 months..
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jul 2003
Location: chicago
Posts: 1,135
|
i use both
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: May 2005
Location: Illinois
Posts: 557
|
im working on making everything 5
__________________
College Downtime.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Rock 'n Roll Baby!
Join Date: Sep 2004
Location: USA, temporarly
Posts: 22,562
|
I use PHP Version 4.3.9
__________________
Sig for sale. Affordable prices. Contact me and get a great deal ;) My contact: ICQ: 944-320-46 e-mail: manca {AT} HotFreeSex4All.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
|
The latest stable version in the 4 tree for production. 5 for some demo servers.
__________________
Skype variuscr - Email varius AT gmail |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: May 2001
Location: Denmark
Posts: 146
|
Quote:
I personally use PHP5 because of the improved mysql client api, MySQLi, but mostly because of the new object model. OOP in PHP5 is pretty cool. ![]() Btw, thanks for your votes guys. ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Dec 2002
Posts: 542
|
Quote:
exactly ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
|
PHP5, moved to it about half a year ago and never looked back
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
|
I'm also liking Apache2
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 3,108
|
![]() Quote:
Functionality of some functions changed in certain cases and other things. Also, there is no reason to go on PHP5. The only major change is the new OOP model and OOP in scripting languages is... well... unneeded overhead. Just my 2 cents..
__________________
"Think about it a little more and you'll agree with me, because you're smart and I'm right." - Charlie Munger |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: May 2001
Location: Denmark
Posts: 146
|
Quote:
There are very few incompatibilities between PHP5 and PHP4. See http://www.php.net/manual/en/migrati...compatible.php What functions have changed functionality? I havent come across anyone. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Apr 2002
Location: Portland, OR
Posts: 139
|
The OOP stuff has changed enough to be a pain in the ass in terms of migrating forward from 4 to 5.
Personally I make sure everything new which I write works on 4 and 5 and try to fix the old stuff as I come across it, however, I still have 4 on my production servers (although the last time I've really had any compatibility problems with 5 was when it was very early in the dot releases). - CGI
__________________
Komply - The 2257 record keeping & content management application (sneak preview) Manic Cash - Tight Niches, Solid Payouts... ICQ 346121285 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
salad tossing sig guy
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
|
ill probably be using php4 for the upcoming 3-5 years. No joke.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Industry Role:
Join Date: Mar 2003
Posts: 5,074
|
still on php4 but i make sure i code with php5 in mind.
__________________
█ joesmut (a) gmail Dot com █ Full Stack Developer |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Join Date: Mar 2002
Location: Trailer Park
Posts: 660
|
PHP 5, I've been using it for at least 4 months now and I havent had a single issue... works great!
__________________
Xamo Entertainment Xamo.com | EZSets.com ![]() ICQ: 9439118 MSN: mikeb [at] xamo.com Tollfree: 800-544-XAMO XXX CMS - Designed by Adult Webmasters, for Adult Webmasters. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Join Date: Feb 2004
Location: Right next to you....
Posts: 1,148
|
Its very nice that PHP became much more Object Oriented, but it's still very buggy
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Confirmed User
Join Date: Jan 2004
Location: Edmonton, Alberta
Posts: 75
|
Quote:
Second, as far as "Functionality of some functions changed" goes, as someone already pointed out all the compatibility issues are listed here. Now tell me how much of that have you actually used? "The only major change is the OOP model". RTF ChangeLog. The natural progression of languages has been something like this: Statement-based languages (ASM, etc.) -> Procedural Languages (Pascal, etc.) -> Object-Oriented Languages (Java, etc.). PHP4 is a procedural language with a very half-assed set of OOP features. PHP5 is an attempt to add some real OOP features to the language (protected methods and member data, interfaces, abstract classes, ...). These are things that true OOP languages actually have. The real question isn't even really about PHP4 or PHP5, it's about your preference for object-oriented programming. If you want to switch to PHP5, research OOP first (or while you make the transition). This area of software engineering has been so heavily researched that you should be able to be able to find an endless amount of documents that discuss OOP programming in general (there isn't much documentation related to PHP5 itself on OOP, but even reading articles that cover OOP with C++ or Java examples can still be very good at demonstrating the key points). If you plan on using PHP5 because it's the latest, and not because you want to make use of the new OOP features, then just stick with PHP4 until you understand, and ultimately prefer -- like all the best programmers do ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Join Date: Aug 2004
Location: in your imagination...
Posts: 491
|
php4
![]()
__________________
![]() ![]() ![]() ![]() Good, filtered traffic: Chocker, Traffic Holder || My favourite hosting: HQ Host |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | ||
Confirmed User
Join Date: May 2001
Location: Denmark
Posts: 146
|
Quote:
Quote:
Nice post INDK. Thanks for your support ![]() If you want to read more on PHP5 take a look at http://www.devx.com/webdev/Article/10007/ . See http://php.net/manual/en/faq.migration5.php for a FAQ when migrating from PHP 4 to PHP 5. |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Join Date: Feb 2004
Location: Ohio, US
Posts: 662
|
I Personally Prefer php 5 for anything of my own, however the large number of people that are misinformed about 5 and are clinging to 4 because 5 is 'new and too buggy' or 'the only better thing in 5 is OOP stuff' etc... are causing me to code everything for anyone else in 4, i can't wait until people get their heads outta their asses and 5 is the standard install tho
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
Too lazy to set a custom title
Join Date: Jul 2004
Posts: 10,970
|
Apache 1.3.33 and PHP 4.3.11 here
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
Confirmed User
Join Date: May 2001
Location: Denmark
Posts: 146
|
Thanks for votes. Keep them coming
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
Confirmed User
Join Date: Feb 2004
Location: Sweden.
Posts: 3,483
|
4.3.11 here
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |