PHP 5.3.x 和 PHP 5.2.x 之间有什么区别,我应该使用哪一个?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3524960/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What's the difference between PHP 5.3.x and PHP 5.2.x and which one should I use?
提问by bodacydo
Possible Duplicate:
PHP 5.3 changelog?
可能重复:
PHP 5.3 更新日志?
I am new to PHP, and I am confused which PHP version I should use: 5.3.3 (latest in 5.3.x), or 5.2.14 (latest in 5.2.x). What's the difference between them?
我是 PHP 新手,我很困惑我应该使用哪个 PHP 版本:5.3.3(5.3.x 中的最新版本)或 5.2.14(5.2.x 中的最新版本)。它们之间有什么区别?
回答by Ed Mazur
You can read about some of the PHP 5.3 features here:
您可以在此处阅读一些 PHP 5.3 功能:
http://php.net/releases/5_3_0.php
http://php.net/releases/5_3_0.php
You might as well go with the latest release if you have a choice.
如果您有选择,您不妨使用最新版本。
回答by Ed Mazur
You'll want to read the 5.3 Migration Guide, which outlines in detail the differences between 5.2 and 5.3.
您需要阅读5.3 迁移指南,其中详细概述了 5.2 和 5.3 之间的差异。