I work on a code base written in php 4. I'd like to go through the process of upgrading the code to php 5 (the latest version my host provides). I'm wondering if anyone else has gone through a similar upgrade experience and can share what gotchas/pitfalls there are, what has to change in my code, what is not backwards compatible between the two versions?
3条回答 默认 最新
- doujiang1939 2009-06-26 15:45关注
Take a look at the guide for migrating from PHP 4 to 5. Your existing PHP 4 code should mostly still work, though there are some backward-incompatible changes.
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报