28, May 2012

php4 Vs php5 : What version of php do you prefer? - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: php4 Vs php5 : What version of php do you prefer?
« previous next »
Poll
Question: What version of php you like most?
php 4
php 5

Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: php4 Vs php5 : What version of php do you prefer?  (Read 1184 times)
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« on: May 28, 2006, 10:36:25 pm »

Well I think this is a good subject for a debate.

I know that php5 supposed (or is) better than php 4, but for many reasons people still use php4.

For example I have many of my sites running in php 4 because they are not working fine with php5 (actually they need some small code changes to make them work)

If you want my opinion, php 5 is much better as there are many new functions added, the new zend engine make the scripts run must faster, and for the first time there is true OOP functionallity.

I have done three projects till now using php OOP, and I am very happy with it, but I am not sure how fast is this way.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: May 29, 2006, 10:03:41 am »

Yes, a lot of sites are coded with php4 because the new features of php5 are mostly for the more experienced programmer. Another problem is that some "out of the box" server configurations doesn't support php5 (f.e. ensimPro).

I think writing "save" applications with features like private and protected methods and vars, abstract classes is not nessacery for the most of the projects.

Next big enhancement is the XML support, this is a big improvement which is usefull for a lot of projects.

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #2 on: May 29, 2006, 10:09:27 am »

Yeah that's true.

But I think that there is some work to be done too.

php 5 when first released was full of bugs, but now works much better (at least I haven't found any bug till now)

I think that php is now in a new era. They are done with the 'easy programming' thing and they start making more progress to whatever an experienced programmer wants.

In anyway php is the best web development programming language (I realized that the other day that I had to do some work with perl.... Smiley ) so the future can bring only good things.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: May 29, 2006, 11:13:59 am »

I don't know about the bugs because I started with php5 a year before (but I heard about).

I think its usefull to use all the new OOP features in every application because its a good training. And the most important its much easier to use other php5 applications and classes.

... yes of course php is the best web programming language. The best thing is that the most php4 code works fine with php5...I test all version 4 scripts on a php5 testing server.

Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2670
Tags : php xml programming zend Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: php4 Vs php5 : What version of php do you prefer?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 10:26:10 am





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.