PHP4 vs PHP5...learning curve

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
kbrown3074
Forum Contributor
Posts: 119
Joined: Thu Jul 20, 2006 1:36 pm

PHP4 vs PHP5...learning curve

Post by kbrown3074 »

I have been using PHP4 in my current job and I am looking for a new PHP position. I notice there are some PHP5 positions out there but Im not sure that I have enough knowledge to say that I can code completely in PHP5. Has anyone been in the same position and how hard was it to get up to speed with PHP5?
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

not that hard as far as language differences concerned. PHP5 empowers you with new tools and doesn't take much of older ones away.
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

There are a few extra functions added to PHP 5. More along the lines of someone saying this would be neat let's add it. ;)

The biggest difference is how they expanded on Classes. You can still use PHP 4 classes under PHP 5 but they added many new things to how classes function. If companies are looking for people with PHP 5 experience they may be looking for someone to maintain any PHP 5 specific Class code. So I would focus in that area.
User avatar
kbrown3074
Forum Contributor
Posts: 119
Joined: Thu Jul 20, 2006 1:36 pm

Post by kbrown3074 »

I figured the major differences were classes. Right now I just dont have a whole lot of exposure to the different classes in PHP. I have been using PEAR but thats as far as the classes go.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

kbrown3074 wrote:I figured the major differences were classes. Right now I just dont have a whole lot of exposure to the different classes in PHP. I have been using PEAR but thats as far as the classes go.
I'm going to guess this company are looking for someone with OOP experience which is where PHP5 stretches away from PHP4 as PJ said. I don't mean to come across badly, but if you don't know much about OOP you might not be what they are looking for. Have a read around and practise writing OO code with PHP5, it'll be a pleasurable learning experience if nothing else :)
User avatar
kbrown3074
Forum Contributor
Posts: 119
Joined: Thu Jul 20, 2006 1:36 pm

Post by kbrown3074 »

I have some OOP experience from using Visual Fox..but havent used it really in a couple of years. I understand the concepts, just havent put them to use in production code.
Post Reply