PHP4 vs PHP5 Security

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
gunjy
Forum Newbie
Posts: 1
Joined: Wed Nov 08, 2006 9:25 am

PHP4 vs PHP5 Security

Post by gunjy »

I'm just getting into PHP and was wondering if there are any security issues with migrating PHP4 code to PHP5. My company does some work for bank websites and is currently using PHP4. If we moved to PHP5 would it be any less secure. As you can imagine security is a HUGE concern with banks.

Thanks in advance!
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

I don't think security would be much of an issue, but PHP4 and PHP5 are syntactically different... especially when it comes to classes and Object-Oriented Programming. Your PHP4 code may not be compatible with PHP5. Look here:
http://www.zend.com/php5/articles/engin ... hanges.php
Post Reply