![]() |
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. |
php4.. php5 is still not stable enough for important stuff.. give it 3-6 months..
|
i use both
|
im working on making everything 5
|
I use PHP Version 4.3.9
|
The latest stable version in the 4 tree for production. 5 for some demo servers.
|
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. :thumbsup Btw, thanks for your votes guys. :) |
Quote:
exactly :thumbsup |
PHP5, moved to it about half a year ago and never looked back
|
I'm also liking Apache2
|
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.. |
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. |
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 |
ill probably be using php4 for the upcoming 3-5 years. No joke.
|
still on php4 but i make sure i code with php5 in mind.
|
PHP 5, I've been using it for at least 4 months now and I havent had a single issue... works great!
|
Its very nice that PHP became much more Object Oriented, but it's still very buggy :(
|
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 :thumbsup -- object-oriented programming. |
fris# php -v
PHP 4.3.11 (cli) (built: May 20 2005 05:30:13) |
php4
:pimp |
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. |
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 :thumbsup
|
Apache 1.3.33 and PHP 4.3.11 here :thumbsup
|
Thanks for votes. Keep them coming :)
|
4.3.11 here :thumbsup
|
All times are GMT -7. The time now is 10:14 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123