onemind Posted September 3, 2006 Share Posted September 3, 2006 Hi,I have used php 4 alot and haven't attempted php5 yet. From what i can tell, not alot of web servers have made the transition and all my clients ask for php unkowingly running a php 4 server so any php 5 stuff wont work for them.Is it too soon for php5? When will php5 become mainstream do you think?Any insights would be great.Thanks :) Quote Link to comment https://forums.phpfreaks.com/topic/19580-too-soon-for-php5/ Share on other sites More sharing options...
onlyican Posted September 3, 2006 Share Posted September 3, 2006 php 5 is only really just become "Steady"A lot of servers have been waiting for thisAlso for a hosting company to change a shared hosting server over means that any of there current customers using functions which dont work in php5 (noob programmers) means they will loose out.So hosting companies dont really want to change yet Quote Link to comment https://forums.phpfreaks.com/topic/19580-too-soon-for-php5/#findComment-85185 Share on other sites More sharing options...
AndyB Posted September 3, 2006 Share Posted September 3, 2006 [quote author=onlyican link=topic=106736.msg427152#msg427152 date=1157297986]using functions which dont work in php5 (noob programmers)[/quote]I believe the correct term is 'legacy application' not 'noob programming' :)@onemind: your clients couldn't care less how you do what they want; they only care that it works. While php5 has advantages in certain circumstances you need to code what works on the target server your client uses, not what can only work in the right circumstances. Given that there are still a zillion servers out there with register_globals ON, expect a long wait until php5 is a widely installed hosting server base. Quote Link to comment https://forums.phpfreaks.com/topic/19580-too-soon-for-php5/#findComment-85198 Share on other sites More sharing options...
wildteen88 Posted September 3, 2006 Share Posted September 3, 2006 PHP4 code is backwards compatible with PHP5. So if someone creatse an app on a server using PHP4 and they move it to a server running PHP5 the script will still work. However the thing that will either make or break you app is the difference between how PHP is setup on the two servers. Such as the PHP4 server may have a setting turned on, ie register_globals, but the PHP5 server has this setting disabled. This may cause your app to function incorrectly. Quote Link to comment https://forums.phpfreaks.com/topic/19580-too-soon-for-php5/#findComment-85208 Share on other sites More sharing options...
onemind Posted September 3, 2006 Author Share Posted September 3, 2006 Thanks guys,So what is the bottom line? Hold off for a while? I mean, i will still learn it in the mean time but does it look as though v4 is still current? Quote Link to comment https://forums.phpfreaks.com/topic/19580-too-soon-for-php5/#findComment-85225 Share on other sites More sharing options...
.josh Posted September 3, 2006 Share Posted September 3, 2006 i suggest continuing on with v4. keep in mind that it's not like v4 and v5 are two completely different languages, so it's not like you're gonna somehow be completely lost if you choose one or the other. from what i understand, the most major changes between the 2 is a revamped OOP structure/support in v5, which is not what you'd really be learning as a beginner in the first place. Quote Link to comment https://forums.phpfreaks.com/topic/19580-too-soon-for-php5/#findComment-85227 Share on other sites More sharing options...
onlyican Posted September 3, 2006 Share Posted September 3, 2006 The main difference between the 2 versions are certain functions (and bugs cleared)I run a localhost, when building websites, which is php5My Web Server is php4Theres not much difference Quote Link to comment https://forums.phpfreaks.com/topic/19580-too-soon-for-php5/#findComment-85240 Share on other sites More sharing options...
extrovertive Posted September 3, 2006 Share Posted September 3, 2006 Aside from new functions and a better OOP paradigm, there's not really much difference right? Quote Link to comment https://forums.phpfreaks.com/topic/19580-too-soon-for-php5/#findComment-85337 Share on other sites More sharing options...
.josh Posted September 3, 2006 Share Posted September 3, 2006 nope, not really. Quote Link to comment https://forums.phpfreaks.com/topic/19580-too-soon-for-php5/#findComment-85356 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.