Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 19th, 2006, 10:47 PM   #1
msk420
Programmer
 
msk420's Avatar
 
Join Date: May 2006
Posts: 85
Rep Power: 3 msk420 is on a distinguished road
PHP 4 or 5

What would be better to start learning version 4 or 5. Just a question, I'm very new to PHP and want to start learning it heavily...
__________________
Code Forums
msk420 is offline   Reply With Quote
Old May 19th, 2006, 10:52 PM   #2
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Doesn't really matter in my opinion. There are small differences between the two. I know PHP 4, and some 5. I use PHP 5, and have yet to run into a problem where a command im using doesn't work. The book I read covers PHP 4 and 5. It's the same code basicly, and points out code changes where applicable.
Booooze is offline   Reply With Quote
Old May 20th, 2006, 2:22 PM   #3
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Learn 5. Version five adds a few more functions and improves a few more, and adds decent support for classes and objects. There's no point learning v4 unless your web host doesn't support v5.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old May 20th, 2006, 2:58 PM   #4
msk420
Programmer
 
msk420's Avatar
 
Join Date: May 2006
Posts: 85
Rep Power: 3 msk420 is on a distinguished road
Ok thanks...
__________________
Code Forums
msk420 is offline   Reply With Quote
Old May 20th, 2006, 7:38 PM   #5
BlazingWolf
Hobbyist Programmer
 
Join Date: Sep 2004
Posts: 207
Rep Power: 5 BlazingWolf is on a distinguished road
Oobles word is true. Plus when you first learn 5 you probably won't be using any of the features new to 5 anyway.
__________________
_______________________________
BlazingWolf
BlazingWolf is offline   Reply With Quote
Old May 20th, 2006, 7:43 PM   #6
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Quote:
Originally Posted by BlazingWolf
Oobles word is true. Plus when you first learn 5 you probably won't be using any of the features new to 5 anyway.
Yeah that's why I said it didn't really matter. Go ahead and learn 5 though. No biggy.
Booooze is offline   Reply With Quote
Old May 20th, 2006, 8:46 PM   #7
msk420
Programmer
 
msk420's Avatar
 
Join Date: May 2006
Posts: 85
Rep Power: 3 msk420 is on a distinguished road
Ok thanks.
__________________
Code Forums
msk420 is offline   Reply With Quote
Old May 22nd, 2006, 2:30 PM   #8
chiefbutz
Newbie
 
chiefbutz's Avatar
 
Join Date: May 2006
Location: Indiana, USA
Posts: 3
Rep Power: 0 chiefbutz is on a distinguished road
Send a message via AIM to chiefbutz Send a message via MSN to chiefbutz Send a message via Yahoo to chiefbutz
I say learn both if possible, because 5 has more stuff, but 4 is what most webhosts have, or so it seems to me.
chiefbutz is offline   Reply With Quote
Old May 22nd, 2006, 3:54 PM   #9
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Quote:
Originally Posted by chiefbutz
I say learn both if possible, because 5 has more stuff, but 4 is what most webhosts have, or so it seems to me.
You learn one, you learn the other. Like I said, I know PHP4. I run PHP5. Big Dif
Booooze is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:14 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC