| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #3 (permalink) |
| Senior Member | php5 has many new additions...php5 is now stable and good for production, however it cant hurt to do it in php4, that way you know its a bit more universal.
__________________ I am no longer a NP moderator -- please do not PM me with moderation requests! ~ VPSSpeed.com - Unmanaged VPS Hosting from $9.95 Get a FREE Mach-1 VPS PLAN with any order - Use the coupon FREEWHIZ |
| |
| | #8 (permalink) |
| Account Closed | Here's how: 1. Re-Usable classes - No need to assign variables to data and process it though various functions individually. 2. No more tag checking and parsing individual XML tags with SAX etc. Just use SimpleXML class and have all the data available neatly in array form. 3. PHP5 has better exception handling, making it easier to debug the code. There are plenty of new features that make life easier with PHP5. |
| |
| | #12 (permalink) | |
| Senior Member | I would personally recommend learning version 4 for the simple reason it is what is mostly used in servers at this current moment in time. php 5 if I remember correctly has been available for about 2 years and as of yet has not taken over from php 4. Quote:
If php 5 is installed as is intended using the main default setup the majority of larger applications just will not run on the server. | |
| |
| | #13 (permalink) | |
| Account Closed | Quote:
| |
| |
| | #17 (permalink) |
| Professional Monkey | I would definately learn php5 if your server supports it, php4 and php5 are miles apart. i learnt 4 and know am having to play catch up to get to grips with version 5
__________________ [http://www.webmasterwords.com/python-split-and-join-examples]Python Tutorials[/url] |
| |
| | #18 (permalink) |
| NamePros Regular | PHP4. Work on to that. if you are coding your own website, keep it simple & easy to code. No need of OOPS concept for a normal website, procedure based programming is fine. Also I dont think so that he needs exception handling, SAX at this stage. Even to process XML their many classes out there on the net which break xml to an array. Well dude don't just use a latest version because it is new, keep your goal in front of everything else. Looking for fast, quick output and less time on maintainance then use PHP4. Also many server still do not have PHP5 on to them. |
| |
| | #20 (permalink) |
| A Wealth of Knowledge | Site5 provides the option to choose PHP4 or PHP5 through htaccess **Wants to add affiliate code, but doesn't - because its against the site rules** ![]() -Steve
__________________ Follow Me on Twitter: |
| |
| | #21 (permalink) |
| Buy my domains. | I have PHP4 and PHP5 installed on my computer. I can change back and forth with the click of a button. I code the same no matter which version I am using, and my code works the same with both versions. As far as I can tell, the only difference might be more functions and maybe it does some things faster. I didn't set it up to run anything like anything else. All I did was install it. |
| |
| | #22 (permalink) | |
| A Wealth of Knowledge | Quote:
-Steve
__________________ Follow Me on Twitter: | |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |