{"id":2617,"date":"2011-06-18T23:22:10","date_gmt":"2011-06-18T15:22:10","guid":{"rendered":"https:\/\/www.icocean.com\/wp\/?p=2617"},"modified":"2011-06-18T23:22:10","modified_gmt":"2011-06-18T15:22:10","slug":"%e4%bb%8ephp5-2-x%e8%bf%81%e7%a7%bb%e5%88%b0php5-3-x","status":"publish","type":"post","link":"https:\/\/www.icocean.com\/blog\/?p=2617","title":{"rendered":"\u4ecePHP5.2.x\u8fc1\u79fb\u5230PHP5.3.x"},"content":{"rendered":"<p>php\u5b98\u65b9\u5df2\u7ecf\u4e0d\u518d\u79ef\u6781\u66f4\u65b0php5.2.x\u4e86\uff0c\u770b\u5230\u4e00\u7bc7\u6587\u7ae0\u8bb2\u4ecephp5.2.x\u5347\u7ea7\u5230php5.3.x\u7684\uff0c\u5148\u505a\u4e2a\u8bb0\u5f55\u3002\u76ee\u524d\u7684\u9879\u76ee\u8fd8\u662f\u57fa\u4e8ephp5.2.x\uff0c\u65f6\u673a\u6210\u719f\u518d\u8fc1\u79fb\u5427\uff0c\u6bd5\u7adf\u8fd9\u662f\u52b3\u6c11\u4f24\u8d22\u7684\u4e8b\u3002<\/p>\n<p>\u6765\u6e90\uff1aWeb\u601d\u60f3\u8005\u8bba\u575b\uff0c\u4ee5\u4e0b\u4e3a\u539f\u6587\uff1a<\/p>\n<p>\u76ee\u5f55<br \/>\n\u4e00\u3001PHP 5.3.x\u4e2d\u53d1\u751f\u4e86\u4ec0\u4e48\u53d8\u5316<br \/>\n\u4e8c\u3001\u5411\u540e\u4e0d\u517c\u5bb9\u7684\u53d8\u5316<br \/>\n\u4e09\u3001\u65b0\u529f\u80fd<br \/>\n\u56db\u3001Windows\u652f\u6301\u7684\u53d8\u5316<br \/>\n\u4e94\u3001SAPI modules\u4e2d\u7684\u53d8\u5316<br \/>\n\u516d\u3001PHP 5.3.x\u4e2d\u4e0d\u5efa\u8bae\u4f7f\u7528\u7684\u529f\u80fd<br \/>\n\u4e03\u3001PHP 5.3.x\u4e2d\u53bb\u9664\u4e0d\u63a8\u8350\u7684\u529f\u80fd<br \/>\n\u516b\u3001\u65b0\u53c2\u6570<br \/>\n\u4e5d\u3001\u65b0\u51fd\u6570<br \/>\n\u5341\u3001\u65b0\u7684stream wrappers<br \/>\n\u5341\u4e00\u3001\u65b0\u7684\u7c7b\u5e38\u91cf<br \/>\n\u5341\u4e8c\u3001\u65b0\u65b9\u6cd5<br \/>\n\u5341\u4e09\u3001\u65b0\u6269\u5c55<br \/>\n\u5341\u56db\u3001\u79fb\u9664\u7684\u6269\u5c55<br \/>\n\u5341\u4e94\u3001\u6269\u5c55\u4e2d\u7684\u5176\u4ed6\u53d8\u5316<br \/>\n\u5341\u516d\u3001\u65b0\u7684\u7c7b<br \/>\n\u5341\u4e03\u3001\u65b0\u7684\u5168\u5c40\u5e38\u91cf<br \/>\n\u5341\u516b\u3001INI\u6587\u4ef6handling\u7684\u53d8\u5316<br \/>\n\u5341\u4e5d\u3001\u5176\u4ed6\u53d8\u5316<\/p>\n<p>\u4e00\u3001PHP 5.3.x\u4e2d\u53d1\u751f\u4e86\u4ec0\u4e48\u53d8\u5316<br \/>\nPHP 5.3.x\u4e2d\u7edd\u5927\u591a\u6570\u7684\u6539\u826f\u5bf9\u73b0\u6709\u4ee3\u7801\u65e0\u5f71\u54cd\u3002\u4f46\u662f\u9700\u8981\u8003\u8651\u4e00\u5c0f\u90e8\u5206\u4e0d\u517c\u5bb9\u548c\u65b0\u529f\u80fd\uff0c\u5e76\u4e14\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u5207\u6362PHP\u7248\u672c\u9700\u8981\u505a\u4e0btest\u3002<!--more--><br \/>\n\u4ece\u66f4\u65e7\u7684\u7248\u672c\u5347\u7ea7\u5230php5.3.x\uff0c\u76f8\u5173\u6587\u6863\u5982\u4e0b<br \/>\nUpgrade Notes for PHP 5.2.x.<br \/>\nUpgrade Notes for PHP 5.1.x.<br \/>\nMigrating from PHP 4 to PHP 5.<\/p>\n<p>\u4e8c\u3001\u5411\u540e\u4e0d\u517c\u5bb9\u7684\u53d8\u5316<br \/>\n\u5c3d\u7ba1\u7edd\u5927\u591a\u6570PHP5\u4ee3\u7801\u4e0d\u9700\u4fee\u6539\u5373\u53ef\u8fd0\u884c\uff0c\u4f46\u662f\u8bf7\u7559\u610f\u4e00\u4e9b\u5411\u540e\u4e0d\u517c\u5bb9\u7684\u53d8\u5316\uff1a<br \/>\n\u6240\u6709PHP5.3.X\u9644\u5e26\u7684extension\u4f7f\u7528\u4e86\u65b0\u7684\u53c2\u6570\u89e3\u6790API\uff0c\u5982\u679c\u4f20\u5165\u4e0d\u517c\u5bb9\u7684\u53c2\u6570\u5c06\u5bfc\u81f4\u51fd\u6570\u8fd4\u56deNULL\u3002<br \/>\n\u6709\u90e8\u5206\u4f8b\u5916\u60c5\u51b5\uff0c\u4f8b\u5982get_class()\u5728\u53d1\u751f\u9519\u8bef\u7684\u65f6\u5019\u7ee7\u7eed\u8fd4\u56deFALSE<br \/>\nclearstatcache()\u9ed8\u8ba4\u4e0d\u518d\u6e05\u9664realpath\u7684\u7f13\u5b58<br \/>\nrealpath()\u73b0\u5728\u5b8c\u5168\u72ec\u7acb\u4e8e\u64cd\u4f5c\u7cfb\u7edf\uff0c\u610f\u5473\u7740\u4f8b\u5982__FILE__ . \u201c\/..\/x\u201d\u8fd9\u6837\u7684\u65e0\u6548\u76f8\u5bf9\u8def\u5f84\u5c06\u4e0d\u80fd\u518d\u8fd0\u884c\u3002<br \/>\ncall_user_func() \u8fd9\u4e00\u7cfb\u7684\u51fd\u6570\u73b0\u5728\u53ef\u4ee5\u4f7f\u7528 $this \uff0c\u542b\u7236\u7c7b\u3002<br \/>\narray\u76f8\u5173\u51fd\u6570:natsort(), natcasesort(), usort(), uasort(), uksort(), array_flip(), \u548c array_unique()\u4e0d\u518d\u63a5\u53d7object\u7c7b\u578b\u7684\u53c2\u6570<br \/>\n\u5982\u679c\u8981\u4f7f\u7528\uff0c\u8bf7\u5148\u628aobject\u8f6c\u6362\u4e3a\u6570\u7ec4\u3002<br \/>\n\u4e4b\u524d\u53c2\u6570\u4e3a\u5f15\u7528\u7684\u51fd\u6570\u63a5\u53d7\u76f4\u63a5\u7684\u503c\uff0c\u73b0\u5728\u5219\u4f1a\u4ea7\u751f\u4e00\u4e2afatal error\u3002<br \/>\n\u4efb\u4f55\u4e4b\u524d\u53c2\u6570\u76f4\u63a5\u4f20\u5e38\u91cf\u6216\u8005\u5b57\u7b26\u7684\uff0c\u9700\u8981\u5148\u8d4b\u503c\u5230\u4e00\u4e2a\u53d8\u91cf\u518d\u8c03\u7528\u51fd\u6570\u3002<br \/>\n\u4e3e\u4f8b<br \/>\nfunction test(&#038;$a) {<br \/>\necho \u2018OK\u2019;<br \/>\n}<br \/>\ntest(\u2018a\u2019);<br \/>\nPHP5.3.X\u4e2d\u5c06\u5bfc\u81f4\u4e00\u4e2afatal error<\/p>\n<p>\u65b0\u7684mysqlnd\u51fd\u6570\u5e93\u5fc5\u987b\u4f7f\u7528\u65b0\u7684MySQL4.1\u768441\u5b57\u8282\u7684\u5bc6\u7801\u3002\u4f7f\u752816\u5b57\u8282\u7684\u65e7\u5bc6\u7801\u5c06\u5bfc\u81f4mysql_connect()\u548c\u7c7b\u4f3c\u51fd\u6570\u4ea7\u751f\u201dmysqlnd cannot connect to MySQL 4.1+ using old authentication.\u201d\u7684\u9519\u8bef\u4fe1\u606f\u3002<br \/>\n\u548clibmysql\u4e00\u6837\uff0c\u65b0\u7684mysqlnd\u51fd\u6570\u5e93\u4e0d\u4f1a\u8bfb\u53d6mysql\u914d\u7f6e\u6587\u4ef6(my.cnf\/my.ini)<br \/>\n\u5982\u679c\u4f60\u7684\u4ee3\u7801\u4f9d\u8d56\u4e8emysql\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u4f60\u53ef\u4ee5\u7528mysqli_options()\u51fd\u6570\u52a0\u8f7d\u3002<br \/>\n\u6ce8\u610f\uff0c\u8fd9\u610f\u5473\u7740\u5982\u679cPDO MYSQL\u517c\u5bb9mysqlnd\u5219PDO::MYSQL_ATTR_READ_DEFAULT_FILE \u548c PDO::MYSQL_ATTR_READ_DEFAULT_GROUP\u4e0d\u4f1a\u88abdefined\u3002<br \/>\nSplFileInfo\u548c\u5176\u4ed6\u76ee\u5f55\u76f8\u5173\u7684\u7c7b\u8fd4\u56de\u7684\u8def\u5f84\u5b57\u7b26\u7ed3\u5c3e\u5904\u7684\u201d\/\u201d\u5c06\u88ab\u79fb\u9664\u3002<br \/>\n__toString\u9b54\u672f\u65b9\u6cd5\u4e0d\u518d\u63a5\u53d7\u53c2\u6570<br \/>\n__get, __set, __isset, __unset, \u548c __call\u5fc5\u987b\u4f7f\u7528public\u5e76\u4e14\u4e0d\u80fd\u518d\u5b9a\u4e49\u4e3a\u9759\u6001\u65b9\u6cd5<br \/>\n\u9b54\u672f\u65b9\u6cd5__call\u73b0\u5728\u80fd\u8c03\u7528private\u548cprotected\u65b9\u6cd5\u3002<br \/>\n\u51fd\u6570\u5185include\u6216\u8005require\u4e00\u4e2a\u6587\u4ef6\uff0c\u6587\u4ef6\u5185\u5c06\u4e0d\u80fd\u4f7f\u7528func_get_arg(), func_get_args() \u548c func_num_args()\u51fd\u6570\u3002<br \/>\n\u4ee5\u4e0b\u5173\u952e\u8bcd\u6210\u4e3a\u4fdd\u7559\u5173\u952e\u8bcd\uff0c\u4e0d\u80fd\u4ee5\u5176\u4e3a\u5176\u4ed6\u51fd\u6570\u3001\u7c7b\u547d\u540d\u3002<br \/>\ngoto<br \/>\nnamespace<\/p>\n<p>\u4e09\u3001\u65b0\u529f\u80fd<br \/>\nPHP 5.3.0\u63d0\u4f9b\u4e86\u5927\u91cf\u65b0\u529f\u80fd<br \/>\n\u589e\u52a0\u547d\u540d\u7a7a\u95f4(namespaces)\u7684\u652f\u6301<br \/>\n\u5bf9\u8fdf\u9759\u6001\u7ed1\u5b9a(Late static binding)\u7684\u652f\u6301<br \/>\n\u5bf9\u8df3\u8f6c\u6807\u7b7e\u7684\u652f\u6301(\u5373\u6709\u9650\u7684goto)<br \/>\n\u589e\u52a0\u5bf9\u95ed\u5305Closures\uff08Lambda\/\u533f\u540d\u51fd\u6570\uff09\u7684\u652f\u6301<br \/>\n\u65b0\u7684\u9b54\u672f\u65b9\u6cd5\uff1a__callStatic \u548c __invoke.<br \/>\n\u652f\u6301 Nowdoc \u8bed\u6cd5\uff0c\u7c7b\u4f3c\u4e8e\u52a0\u4e0a\u5355\u5f15\u53f7\u7684Heredoc \u8bed\u6cd5\u3002<br \/>\n\u73b0\u5728\u53ef\u4ee5\u5c06 Heredocs \u7528\u6765\u521d\u59cb\u5316\u9759\u6001\u53d8\u91cf\u4e0e\u7c7b\u4e2d\u6210\u5458\u548c\u5e38\u91cf<br \/>\n\u4f5c\u4e3a\u65b0\u589e\u7684Nowdoc\u8bed\u6cd5\u7684\u8865\u5145,\u73b0\u5728\u53ef\u4ee5\u4f7f\u7528\u53cc\u5f15\u53f7\u6765\u58f0\u660e\u3002<br \/>\n\u53ef\u4ee5\u5728\u7c7b\u4ee5\u5916\u4f7f\u7528const\u5b9a\u4e49\u5e38\u91cf\u3002<br \/>\n\u4e09\u5143\u8fd0\u7b97\u7b26\u73b0\u5728\u53ef\u4ee5\u4f7f\u7528\u7b80\u5199 ?:<br \/>\n\u73b0\u5728HTTP\u72b6\u6001200\u81f3399\u90fd\u88abHTTP stream wrapper\u8ba4\u4e3a\u662f\u6210\u529f\u7684\u3002<br \/>\n\u73b0\u5728\u80fd\u591f\u52a8\u6001\u8bbf\u95ee\u9759\u6001\u65b9\u6cd5<br \/>\n\u5f02\u5e38\u5904\u7406\u53ef\u4ee5\u5d4c\u5957\u4f7f\u7528<br \/>\n\u9ed8\u8ba4\u5f00\u542f\u65b0\u7684\u5783\u573e\u56de\u6536\u5668\u4ee5\u89e3\u51b3\u5faa\u73af\u5f15\u7528(circular references)\u95ee\u9898\u3002<br \/>\nmail()\u51fd\u6570\u652f\u6301\u65e5\u5fd7\u8bb0\u5f55(\u4ec5\u8bb0\u5f55\u4f7f\u7528\u8fd9\u4e2a\u51fd\u6570\u53d1\u9001\u7684\u90ae\u4ef6)<\/p>\n<p>\u56db\u3001\u4e3a\u652f\u6301 Windows \u6240\u505a\u7684\u4fee\u6539<br \/>\n\u4e0ewindows\u6709\u5173\u7684\u4fee\u6539<br \/>\n\u652f\u6301\u7684\u6700\u4f4eWindows \u7248\u672c\u662fWindows XP SP3;Windows 2000; Windows 98, ME \u548c NT4 \u4e0d\u518d\u652f\u6301\u3002<br \/>\nWindows \u4e8c\u8fdb\u5236\u5305\u4e0d\u518d\u652f\u6301i386 \u548c i486 \u3002<br \/>\n\u5b9e\u9a8c\u6027\u768464\u4f4d\u7248\u672c\u7684PHP \u3002<br \/>\n\u7f16\u8bd1\u5668\u652f\u6301VC++9(VS2008)<br \/>\n\u540c\u65f6Snapshots\u548creleases\u652f\u6301VC9. \u4f7f\u7528 VC6 \u7f16\u8bd1\u7684\u4e8c\u8fdb\u5236\u5305\u4f9d\u65e7\u88ab\u652f\u6301\u3001\u4e0eVC9\u540c\u6b65\u53d1\u884c\u3002<br \/>\nPDO_OCI\u4f7f\u7528Oracle 10 \u6216 11 \u5ba2\u6237\u7aef\u5e93\u7684 php_pdo_oci.dll\u53d6\u4ee3 php_pdo_oci8.dll \u5e93 (\u6ce8\u610f\u6ca1\u6709 \u20188\u2032) \u3002<br \/>\n\u4f9d\u7136\u652f\u6301\u8fde\u63a5\u6570\u636e\u5e93\u7684\u5176\u4ed6\u7248\u672c\u3002<br \/>\n\u65b0php_oci8_11g.dll\u4f5c\u4e3aphp_oci8.dll \u7684\u8865\u5145\u3002<br \/>\n\u8fd9\u4e24\u4e2a\u5e93\u90fd\u53ea\u80fd\u5f00\u542f\u5176\u4e2d\u4e00\u4e2a\u3002php_oci8.dll \u4f7f\u7528 Oracle 10.2 \u5ba2\u6237\u7aef\u5e93\u3002<br \/>\nphp_oci8_11g.dll \u4f7f\u7528 Oracle 11 \u5ba2\u6237\u7aef\u5e93\u3002<br \/>\n\u4ee5\u4e0b\u51fd\u6570\u5df2\u7ecf\u80fd\u591f\u652f\u6301windows<br \/>\ncheckdnsrr()<br \/>\ndns_get_record()<br \/>\nfnmatch()<br \/>\ngetmxrr()<br \/>\ngetopt()<br \/>\nimagecolorclosesthwb()<br \/>\ninet_ntop()<br \/>\ninet_pton()<br \/>\nlink()<br \/>\nlinkinfo()<br \/>\nmcrypt_create_iv()<br \/>\nreadlink()<br \/>\nsocket_create_pair() \u2013 \u4e4b\u524d\u8fd9\u4e2a\u51fd\u6570\u80fd\u5728 Windows \u4e0b\u7528\uff0c\u4f46\u662f\u56e0\u4e3abug\u88abPHP4.3.0\u5c4f\u853d\u3002<br \/>\nstream_socket_pair()<br \/>\nsymlink()<br \/>\ntime_nanosleep()<br \/>\ntime_sleep_until()<br \/>\nOther changes:<br \/>\n\u5176\u4ed6\u6539\u53d8:<br \/>\n\u6539\u826f\u4e86 stat(), touch(), filemtime(), filesize() \u548c\u5176\u4ed6\u6709\u5173\u51fd\u6570\u7684\u53ef\u79fb\u690d\u6027\u3002<br \/>\n\u73b0\u5728\u53ef\u4ee5\u5728 Windows \u4e0b\u4f7f\u7528 link() \u51fd\u6570\u5efa\u7acb\u786c\u8fde\u63a5\uff08hard links\uff09\uff0c\u4f7f\u7528 symlink() \u5efa\u7acb\u7b26\u53f7\u8fde\u63a5\uff08symbolic links\uff09\u3002<br \/>\n\u786c\u94fe\u63a5\u7528\u4e8e Windows 2000\uff0c\u7b26\u53f7\u8fde\u63a5\u7528\u4e8e Windows Vista.<br \/>\nWindows\u7248PHP\u73b0\u5728\u516c\u5e03\u4e86\u4e00\u7ec4\u4ee5PHP_WINDOWS_*\u4e3a\u524d\u7f00\u7684\u65b0\u5e38\u91cf\u3002<br \/>\n\u6709\u5173\u7684\u5e38\u91cf\u5217\u8868\u548c\u7528\u9014\u8bf7\u67e5\u9605 Predefined Constants\uff08\u9884\u5b9a\u4e49\u5e38\u91cf\uff09\u3002<br \/>\nWarning<br \/>\n\u8b66\u544a<br \/>\n\u5df2\u653e\u5f03\u5bf9ISAPI\u6a21\u5757\u7684\u652f\u6301\uff0c\u53ef\u4f7f\u7528\u6539\u8fdb\u8fc7\u7684FastCGI SAPI\u6a21\u5757\u4ee3\u66ff\u3002<br \/>\n\u63d0\u793a: \u73b0\u5df2\u4e3awindows\u4e0a\u7684PHP\u521b\u5efa\u5168\u65b0\u7684\u7f51\u7ad9\uff0c \u542b\u5404\u7248\u672c\u7684\u4e0b\u8f7d\u3001\u53d1\u5e03\u5019\u9009\u3001\u5feb\u7167\u3002<br \/>\n\u7f51\u5740:http:\/\/windows.php.net\/<\/p>\n<p>\u4e94\u3001SAPI \u6a21\u5757\u4e2d\u7684\u6539\u53d8<br \/>\n\u4e00\u4e2a\u540d\u4e3alitespeed\u7684SAPI\u6a21\u5757\u5df2\u7ecf\u80fd\u591f\u4f7f\u7528<br \/>\nFastCGI\u73b0\u5728\u603b\u662f\u5f00\u542f\u7684\u5e76\u4e0d\u80fd\u88ab\u5173\u95ed\u3002\u8bf7\u67e5\u770b sapi\/cgi\/CHANGES \u83b7\u5f97\u66f4\u591a\u7684\u4fe1\u606f\u3002<br \/>\nCGI SAPI\u589e\u52a0\u4e00\u4e2a\u65b0\u9009\u9879 -T\uff0c\u7528\u4e8e\u6d4b\u8bd5\u811a\u672c\u7684\u91cd\u590d\u6267\u884c\u65f6\u95f4\u3002<br \/>\nCGI\/FastCGI \u73b0\u5728\u652f\u6301.htaccess \u98ce\u683c\u7684\u3001\u7528\u6237\u5b9a\u4e49\u7684 php.ini\u6587\u4ef6<br \/>\n\u9ed8\u8ba4\u7981\u7528dl()\u51fd\u6570\uff0c\u5e76\u4e14\u4ec5\u80fd\u591f\u5728CLI, CGI \u548cembed SAPIs\u4e2d\u4f7f\u7528\u3002<\/p>\n<p>\u516d\u3001PHP 5.3.x \u4e2d\u4e0d\u5efa\u8bae\u4f7f\u7528\u7684\u529f\u80fd<br \/>\nPHP 5.3.0 \u5f15\u5165\u4e86\u4e24\u4e2a\u65b0\u7684\u9519\u8bef\u7ea7\u522b:E_DEPRECATED\u548cE_USER_DEPRECATED\u3002<br \/>\nE_DEPRECATED\u8868\u660e\u4e0d\u5efa\u8bae\u4f7f\u7528\u7684\u51fd\u6570\u6216\u529f\u80fd\u3002<br \/>\nE_USER_DEPRECATED\u8868\u660e\u7528\u6237\u4ee3\u7801\u4e2d\u4e0d\u5efa\u8bae\u4f7f\u7528\u7684\u529f\u80fd\uff0c\u7c7b\u4f3c\u4e8eE_USER_ERROR\u548cE_USER_WARNING\u3002<br \/>\n\u4ee5\u4e0b\u662f\u4e0d\u5efa\u8bae\u4f7f\u7528\u7684INI\u9009\u9879\u3002\u4f1a\u5bfc\u81f4\u542f\u52a8\u65f6\u629b\u51faE_DEPRECATED\u9519\u8bef\u3002<br \/>\ndefine_syslog_variables<br \/>\nregister_globals<br \/>\nregister_long_arrays<br \/>\nsafe_mode<br \/>\nmagic_quotes_gpc<br \/>\nmagic_quotes_runtime<br \/>\nmagic_quotes_sybase<br \/>\n\u4e0d\u5efa\u8bae\u7528\u2019#&#8217;\u5728INI\u6587\u4ef6\u4f5c\u6ce8\u91ca<br \/>\n\u4e0d\u5efa\u8bae\u4f7f\u7528\u7684\u51fd\u6570:<br \/>\ncall_user_method() (\u4f7f\u7528 call_user_func() \u4ee3\u66ff)<br \/>\ncall_user_method_array() (\u4f7f\u7528 call_user_func_array() \u4ee3\u66ff)<br \/>\ndefine_syslog_variables()<br \/>\ndl()<br \/>\nereg() (\u4f7f\u7528preg_match() \u4ee3\u66ff)<br \/>\nereg_replace() (\u4f7f\u7528 preg_replace() \u4ee3\u66ff)<br \/>\neregi() (\u4f7f\u7528 preg_match() \u7ed3\u5408 \u2018i\u2019 \u4fee\u9970\u7b26\u4ee5\u4ee3\u66ff)<br \/>\neregi_replace() (\u4f7f\u7528 preg_replace() \u7ed3\u5408 \u2018i\u2019 \u4fee\u9970\u7b26\u4ee5\u4ee3\u66ff)<br \/>\nset_magic_quotes_runtime() \u548c\u5b83\u7684\u522b\u540d magic_quotes_runtime()<br \/>\nsession_register() (\u4f7f\u7528 $_SESSION \u8d85\u5168\u5c40\u53d8\u91cf\uff08superglobal\uff09\u4ee3\u66ff)<br \/>\nsession_unregister() (\u4f7f\u7528 $_SESSION \u8d85\u5168\u5c40\u53d8\u91cf\uff08superglobal\uff09\u4ee3\u66ff)<br \/>\nsession_is_registered() (\u4f7f\u7528 $_SESSION \u8d85\u5168\u5c40\u53d8\u91cf\uff08superglobal\uff09\u4ee3\u66ff)<br \/>\nset_socket_blocking() (\u4f7f\u7528 stream_set_blocking() \u4ee3\u66ff)<br \/>\nsplit() (\u4f7f\u7528 preg_split()\u4ee3\u66ff)<br \/>\nspliti() (\u4f7f\u7528 preg_split()\u4ee5\u4fee\u9970\u7b26\u2019i&#8217;\u4ee3\u66ff)<br \/>\nsql_regcase()<br \/>\nmysql_db_query() (\u4f7f\u7528 mysql_select_db() \u548c mysql_query() \u4ee3\u66ff)<br \/>\nmysql_escape_string() (\u4f7f\u7528 mysql_real_escape_string() \u4ee3\u66ff)<br \/>\n\u4f7f\u7528LC_*\u7cfb\u5217\u5e38\u91cf\u4ee3\u66ff\u5b57\u7b26\u4e32\uff0c\u6765\u8bbe\u7f6elocale category names<br \/>\nThe is_dst parameter to mktime(). Use the new timezone handling functions instead.<br \/>\nmktime()\u7684\u53c2\u6570is_dst \u3002\u7528\u65b0\u7684timezone\u5904\u7406\u51fd\u6570\u4ee3\u66ff\u3002<br \/>\n\u4e0d\u5efa\u8bae\u4f7f\u7528\u7684\u529f\u80fd:<br \/>\n\u4e0d\u63a8\u8350\u5c06new\u7684\u8fd4\u56de\u503c\u4e3a\u5f15\u7528\u3002<br \/>\n\u4e0d\u63a8\u8350Call-time pass-by-reference \u5373\u4e0d\u63a8\u8350func(&#038;$param);<br \/>\n\u4e0d\u63a8\u8350\u4f7f\u7528{}\u8bbf\u95eestring offsets\u3002\u8bf7\u4f7f\u7528 [] \u4ee3\u66ff\u3002<\/p>\n<p>\u4e03\u3001PHP 5.3.x \u6062\u590d\u6b63\u5e38\u4f7f\u7528\u7684\u529f\u80fd<br \/>\n\u7531\u4e8eis_a()\u7684\u666e\u904d\u9700\u6c42\uff0c\u4f7f\u7528\u5b83\u4e0d\u518d\u4ea7\u751f E_STRICT \u9519\u8bef\u3002<\/p>\n<p>\u516b\u3001\u65b0\u7684\u53c2\u6570<br \/>\n\u5728 PHP 5.3 \u4e2d\u90e8\u5206\u51fd\u6570\u63d0\u4f9b\u4e86\u65b0\u7684\u53ef\u9009\u53c2\u6570:<br \/>\nPHP \u6838\u5fc3:<br \/>\nclearstatcache() \u2013 \u589e\u52a0\u4e86 clear_realpath_cache \u548c filename .<br \/>\ncopy() \u2013 \u589e\u52a0\u6570\u636e\u6d41\u73af\u5883\u53c2\u6570\uff08stream context parameter\uff09, context .<br \/>\nfgetcsv() \u2013 \u589e\u52a0 escape .<br \/>\nini_get_all() \u2013 \u589e\u52a0 details .<br \/>\nmail() \u51fd\u6570\u73b0\u5728\u652f\u6301\u8bb0\u5f55\u53d1\u9001\u7684\u90ae\u4ef6\u3002(\u4ec5\u5bf9\u901a\u8fc7\u8be5\u51fd\u6570\u53d1\u9001\u7684\u90ae\u4ef6\u6709\u6548)<br \/>\nnl2br() \u2013 \u589e\u52a0 is_xhtml .<br \/>\nparse_ini_file() \u2013 \u589e\u52a0 scanner_mode .<br \/>\nround() \u2013 \u589e\u52a0 mode .\uff08PS\uff1a\u73b0\u5728\u4e0d\u5149\u662f\u56db\u820d\u4e94\u5165\u8fd9\u4e00\u79cd\u5f62\u5f0f\u4e86\uff09<br \/>\nstream_context_create() \u2013 \u589e\u52a0 params .<br \/>\nstrstr() \u548c stristr() \u2013 \u589e\u52a0 before_needle .\uff08PS\uff1a\u53ef\u4ee5\u53d6\u6307\u5b9a\u5b57\u7b26\u524d\u9762\u7684\u90e8\u5206\u4e86\uff09<br \/>\njson:<br \/>\njson_encode() \u2013 \u589e\u52a0 options .<br \/>\njson_decode() \u2013 \u589e\u52a0 depth .<br \/>\nStreams:<br \/>\nstream_select(), stream_set_blocking(), stream_set_timeout() \u548c stream_set_write_buffer() \u73b0\u5728\u53ef\u4ee5\u5229\u7528\u7528\u6237\u7a7a\u95f4\u7684\u6570\u636e\u6d41\u5c01\u88c5\uff08user-space stream wrappers\uff09\u3002<br \/>\nsybase_ct:<br \/>\nsybase_connect() \u2013 \u589e\u52a0 new .<\/p>\n<p>PHP 5.3.0\u4e2d\u7684\u65b0\u65b9\u6cd5:<br \/>\nPHP \u6838\u5fc3:<br \/>\nException::__construct() \u2013 \u589e\u52a0 previous.<\/p>\n<p>\u4e5d\u3001\u65b0\u51fd\u6570<br \/>\nPHP \u6838\u5fc3:<br \/>\narray_replace() \u2013 \u66ff\u6362\u4f20\u5165\u7684\u6570\u7ec4\u4e3a\u4e00\u4e2a\u6570\u7ec4\u3002<br \/>\narray_replace_recursive() \u2013 \u9012\u5f52\u7684\u66ff\u6362\u6570\u7ec4\u4e2d\u7684\u5143\u7d20\u3002<br \/>\nclass_alias() \u2013 \u4e3a\u7528\u6237\u5b9a\u4e49\u7684\u7c7b\u5efa\u7acb\u4e00\u4e2a\u522b\u540d\u3002<br \/>\nforward_static_call() \u2013 \u5728\u65b9\u6cd5\u5185\uff08method context\uff09\u6267\u884c\u7528\u6237\u51fd\u6570\u3002<br \/>\nforward_static_call_array() \u2013 \u5728\u65b9\u6cd5\u5185\uff08method context\uff09\u6267\u884c\u7528\u6237\u51fd\u6570\uff0c\u53c2\u6570\u4f7f\u7528\u6570\u7ec4\u3002<br \/>\ngc_collect_cycles() \u2013 \u5f3a\u5236\u6536\u96c6\u5df2\u5b58\u5728\u7684\u5783\u573e\u56de\u6536\u6570\u636e\uff08garbage cycles\uff09\u3002<br \/>\ngc_disable() \u2013 \u5173\u95ed\u56de\u6536\u5f15\u7528\u6536\u96c6\u5668\uff08the circular reference collector\uff09\u3002<br \/>\ngc_enable() \u2013 \u6fc0\u6d3b\u56de\u6536\u5f15\u7528\u6536\u96c6\u5668\uff08the circular reference collector\uff09\u3002<br \/>\ngc_enabled() \u2013 \u8fd4\u56de\u56de\u6536\u5f15\u7528\u6536\u96c6\u5668\uff08the circular reference collector\uff09\u7684\u72b6\u6001\u3002<br \/>\nget_called_class() \u2013 \u8fd4\u56de\u6267\u884c\u9759\u6001\u65b9\u6cd5\u7684\u7c7b\u540d\u3002<br \/>\ngethostname() \u2013 \u8fd4\u56de\u672c\u5730\u670d\u52a1\u5668\u5f53\u524d\u7684\u4e3b\u673a\u540d\uff08host name\uff09\u3002<br \/>\nheader_remove() \u2013 \u5220\u9664\u4e4b\u524d\u4f7f\u7528 header() \u51fd\u6570\u8bbe\u7f6e\u7684 HTTP \u5934\u4fe1\u606f\uff08HTTP header\uff09\u3002<br \/>\nlcfirst() \u2013 \u5c06\u5b57\u7b26\u4e32\u7b2c\u4e00\u4e2a\u5b57\u7b26\u8f6c\u6362\u6210\u5c0f\u5199\u3002<br \/>\nparse_ini_string() \u2013 \u89e3\u6790\u914d\u7f6e\u5b57\u7b26\u4e32\u3002<br \/>\nquoted_printable_encode() \u2013 \u5c06 8 bit \u5b57\u7b26\u4e32\u8f6c\u6362\u6210 quoted-printable \u7f16\u7801\u7684\u5b57\u7b26\u4e32\u3002\uff08PS\uff1aquoted-printable \u7f16\u7801\u662f MIME \u90ae\u4ef6\u4e2d\u5e38\u7528\u7684\u7f16\u7801\u683c\u5f0f\uff09<br \/>\nstr_getcsv() \u2013 \u5c06 CSV \u5b57\u7b26\u4e32\u89e3\u6790\u6210\u6570\u7ec4\u3002<br \/>\nstream_context_set_default() \u2013 \u8bbe\u7f6e\u9ed8\u8ba4\u7684 stream context\uff08\u6570\u636e\u6d41\u73af\u5883\uff1f\u6216\u8005\u53eb\u6570\u636e\u6d41\u8d44\u6e90\uff1f\uff09\u3002<br \/>\nstream_supports_lock() \u2013 \u5982\u679c\u6570\u636e\u6d41\u652f\u6301\u9501\u5219\u8fd4\u56de TRUE\u3002<br \/>\nstream_context_get_params() \u2013 \u4ece stream context \u4e2d\u53d6\u56de\u53c2\u6570\u3002<br \/>\nstreamWrapper::stream_cast() \u2013 \u53d6\u56de\u57fa\u672c\u7684 stream resource\uff08\u6570\u636e\u6d41\u8d44\u6e90\uff09\u3002<br \/>\nstreamWrapper::stream_set_option() \u2013 \u4fee\u6539 stream(\u6570\u636e\u6d41)\u9009\u9879\u3002<br \/>\nDate\/Time:<br \/>\ndate_add() \u2013 \u5c06\u4e00\u4e2a DateTime \u5bf9\u8c61\u589e\u52a0\u67d0\u4e2a\u6570\u91cf\u7684\u5929\u3001\u6708\u3001\u5e74\u3001\u5c0f\u65f6\u3001\u5206\u949f\u6216\u8005\u79d2\u3002<br \/>\ndate_create_from_format() \u2013 \u8fd4\u56de\u7ed9\u5b9a\u7684\u683c\u5f0f\u7684\u65b0 DateTime \u5bf9\u8c61\u3002<br \/>\ndate_diff() \u2013 \u8fd4\u56de\u4e24\u4e2a DateTime \u5bf9\u8c61\u7684\u5dee\u3002<br \/>\ndate_get_last_errors() \u2013 \u8fd4\u56de\u6700\u8fd1\u4e00\u6b21\u65e5\u671f\/\u65f6\u95f4\u64cd\u4f5c\u4ea7\u751f\u7684\u8b66\u544a\u6216\u8005\u9519\u8bef\u3002<br \/>\ndate_parse_from_format() \u2013 \u83b7\u5f97\u7ed9\u5b9a\u65e5\u671f\u7684\u4fe1\u606f\u3002<br \/>\ndate_sub() \u2013 \u5c06\u4e00\u4e2a DateTime \u5bf9\u8c61\u51cf\u53bb\u67d0\u4e2a\u6570\u91cf\u7684\u5929\u3001\u6708\u3001\u5e74\u3001\u5c0f\u65f6\u3001\u5206\u949f\u6216\u8005\u79d2\u3002<br \/>\ntimezone_version_get() \u2013 \u8fd4\u56de\u65f6\u533a\u6570\u636e\u5e93\uff08timezonedb\uff09\u7684\u7248\u672c\u3002<br \/>\nGMP:<br \/>\ngmp_testbit() \u2013 Tests whether a bit is set.<br \/>\nHash:<br \/>\nhash_copy() \u2013 Copy hashing context.<br \/>\nIMAP:<br \/>\nimap_gc() \u2013 Clears IMAP cache.<br \/>\nimap_utf8_to_mutf7() \u2013 Encode a UTF-8 string to modified UTF-7.<br \/>\nimap_mutf7_to_utf8() \u2013 Decode a modified UTF-7 string to UTF-8.<br \/>\nJSON:<br \/>\njson_last_error() \u2013 Returns the last JSON error that occurred.<br \/>\nMySQL Improved:<br \/>\nmysqli_fetch_all() \u2013 Fetches all result rows as an associative array, a numeric array, or both.<br \/>\nmysqli_get_connection_stats() \u2013 Returns statistics about the client connection.<br \/>\nmysqli_poll() \u2013 Poll connections.<br \/>\nmysqli_reap_async_query() \u2013 Get result from async query.<br \/>\nOpenSSL:<br \/>\nopenssl_random_pseudo_bytes() \u2013 Returns a string of the given length specified, filled with pseudo-random bytes.<br \/>\nPCNTL:<br \/>\npcntl_signal_dispatch() \u2013 Calls signal handlers for pending signals.<br \/>\npcntl_sigprocmask() \u2013 Sets and retrieves blocked signals.<br \/>\npcntl_sigtimedwait() \u2013 Wait for signals with a timeout.<br \/>\npcntl_sigwaitinfo() \u2013 Wait for signals.<br \/>\nPCRE:<br \/>\npreg_filter() \u2013 Perform a regular expression search and replace, reutrning only results which matched the pattern.<br \/>\nSemaphore:<br \/>\nmsg_queue_exists() \u2013 Check whether a message queue exists.<br \/>\nshm_has_var() \u2013 Checks whether a specific key exists inside a shared memory segment.<br \/>\n\u4ee5\u4e0b\u51fd\u6570\u5728\u6240\u6709\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u90fd\u80fd\u8fd0\u884c<br \/>\nacosh()<br \/>\nasinh()<br \/>\natanh()<br \/>\nexpm1()<br \/>\nlog1p()<\/p>\n<p>\u5341\u3001\u65b0\u7684 stream wrappers<br \/>\nglob:\/\/<br \/>\nphar:\/\/<\/p>\n<p>\u5341\u4e00\u3001\u65b0\u7684\u7c7b\u5e38\u91cf<br \/>\nPDO_FIREBIRD:<br \/>\nPDO::FB_ATTR_DATE_FORMAT \u2013 \u65e5\u671f\u683c\u5f0f<br \/>\nPDO::FB_ATTR_TIME_FORMAT \u2013 \u65f6\u95f4\u683c\u5f0f<br \/>\nPDO::FB_ATTR_TIMESTAMP_FORMAT \u2013 timestamps\u683c\u5f0f.<\/p>\n<p>\u5341\u4e8c\u3001\u65b0\u7684\u7c7b\u65b9\u6cd5<br \/>\nDate\/Time:<br \/>\nDateTime::add() \u2013 \u5728\u4e00\u4e2aDateTime\u7c7b\u578b\u4e0a\u589e\u52a0\u6307\u5b9a\u7684\u65e5\u3001\u6708\u3001\u5e74\u3001\u5c0f\u65f6\u3001\u5206\u3001\u79d2<br \/>\nDateTime::createFromFormat() \u2013 \u6839\u636e\u6307\u5b9a\u7684\u683c\u5f0f\u8fd4\u56de\u65b0DateTime<br \/>\nDateTime::diff() \u2013 \u8fd4\u56de\u4e24\u4e2aDateTime\u7684\u5dee<br \/>\nDateTime::getLastErrors() \u2013 \u8fd4\u56de\u6700\u8fd1\u4e00\u6b21date\/time\u64cd\u4f5c\u7684\u8b66\u544a\u6216\u9519\u8bef\u4fe1\u606f<br \/>\nDateTime::sub() \u2013 Subtracts an amount of days, months, years, hours, minutes and seconds from a DateTime object.<br \/>\nException:<br \/>\nException::getPrevious() \u2013 \u83b7\u53d6\u4e0a\u6b21\u9519\u8bef\u4fe1\u606f<br \/>\nDOM:<br \/>\nDOMNode::getLineNo() \u2013 \u83b7\u53d6\u6307\u5b9a\u8282\u70b9\u7684\u884c\u53f7<br \/>\nPDO_FIREBIRD:<br \/>\nPDO::setAttribute() \u2013 \u8bbe\u7f6e\u5c5e\u6027<br \/>\nReflection:<br \/>\nReflectionClass::getNamespaceName() \u2013 \u8fd4\u56de\u7c7b\u7684\u547d\u540d\u7a7a\u95f4\u540d\u79f0<br \/>\nReflectionClass::getShortName() \u2013 \u8fd4\u56de\u7c7b\u7684\u77ed\u540d(\u5373\u4e0d\u5305\u542bnamespace\u90e8\u5206)<br \/>\nReflectionClass::inNamespace() \u2013 \u8fd4\u56denamespace\u4e2d\u662f\u5426\u5b9a\u4e49\u4e86\u8be5\u7c7b<br \/>\nReflectionFunction::getNamespaceName() \u2013 \u8fd4\u56de\u5df2\u5b9a\u4e49\u8be5\u51fd\u6570\u7684namespace\u7684\u540d\u79f0<br \/>\nReflectionFunction::getShortName() \u2013 \u8fd4\u56de\u51fd\u6570\u7684\u77ed\u540d(\u4e0d\u5305\u542bnamespace\u90e8\u5206)<br \/>\nReflectionFunction::inNamespace() \u2013 \u8fd4\u56de\u51fd\u6570\u662f\u5426\u5df2\u5728namespace\u4e2d\u5b9a\u4e49<br \/>\nReflectionProperty::setAccessible() \u2013 \u8bbe\u7f6e\u975epublic\u5c5e\u6027\u662f\u5426\u80fd\u88ab\u8bbf\u95ee<br \/>\nSPL:<br \/>\nSplObjectStorage::addAll() \u2013 Add all elements from another SplObjectStorage object.<br \/>\nSplObjectStorage::removeAll() \u2013 Remove all elements from another SplObjectStorage object.<br \/>\nXSL:<br \/>\nXSLTProcessor::setProfiling() \u2013 Sets the profiling output file.<\/p>\n<p>\u5341\u4e09\u3001\u65b0\u6269\u5c55<br \/>\nPHP 5.3.0\u9ed8\u8ba4\u5df2\u6dfb\u52a0\u4ee5\u4e0b\u6269\u5c55<br \/>\nEnchant \u2013 An abstraction layer above various spelling libraries<br \/>\nFileinfo \u2013 An improved and more solid replacement, featuring full BC, for the Mimetype extension, which has been removed.<br \/>\nINTL \u2013 Internationalization extension. INTL is a wrapper around the \u00bb ICU library.<br \/>\nPhar \u2013 Implementation of PHP-Archive files.<br \/>\nSQLite3 \u2013 \u652f\u6301SQLite3<br \/>\nmysqlnd is a new core library shipped with PHP. It is a PHP-specific replacement for libmysql.<br \/>\nmysqlnd will be used to build the mysql, mysqli and PDO_MySQL extensions if libmysql isnt found on the system.<br \/>\nIt may also be used instead of libmysql even when libmysql is present. mysqlnd is recommended for all PHP installations for performance reasons.<\/p>\n<p>\u5341\u56db\u3001\u79fb\u9664\u7684\u6269\u5c55<br \/>\n\u4ee5\u4e0b\u6269\u5c55\u88ab\u79fb\u5230PECL\u5e76\u4e0d\u518d\u4f5c\u4e3aPHP\u53d1\u884c\u7248\u7684\u4e00\u90e8\u5206<br \/>\nThese extensions have been moved to PECL and are no longer part of the PHP distribution.<br \/>\nThe PECL package versions of these extensions will be created according to user demand.<br \/>\n\u8fd9\u4e9b\u6269\u5c55\u7684PECL\u5305\u7248\u672c\u5c06\u4ee5\u7528\u6237\u7684\u9700\u8981\u6765\u521b\u5efa<br \/>\ndbase \u2013 \u4e0d\u518d\u4fdd\u7559<br \/>\nfbsql \u2013 \u4e0d\u518d\u4fdd\u7559<br \/>\nfdf \u2013 \u4fdd\u7559<br \/>\nming \u2013 \u4fdd\u7559<br \/>\nmsql \u2013 \u4e0d\u518d\u4fdd\u7559<br \/>\nncurses \u2013 \u4fdd\u7559<br \/>\nsybase \u2013 \u4e0d\u518d\u7ee7\u7eed\uff0c\u8bf7\u4f7f\u7528sybase_ct\u6269\u5c55\u6765\u4ee3\u66ff<br \/>\nmhash \u2013 \u4e0d\u518d\u7ee7\u7eed\uff0c\u8bf7\u4f7f\u7528hash\u6269\u5c55\u6765\u4ee3\u66ff\uff0chash\u5b8c\u5168\u517c\u5bb9mhash;\u4f7f\u7528\u65e7\u65b9\u6cd5\u5c06\u80fd\u7ee7\u7eed\u8fd0\u884c\u3002<br \/>\n\u5341\u4e94\u3001\u6269\u5c55\u4e2d\u7684\u5176\u4ed6\u53d8\u5316<br \/>\n\u5728\u914d\u7f6e\u65f6\u4ee5\u4e0b\u6269\u5c55\u5c06\u65e0\u6cd5\u88ab\u7981\u7528<br \/>\nPCRE<br \/>\nReflection<br \/>\nSPL<br \/>\n\u6269\u5c55\u884c\u4e3a\u7684\u53d8\u5316\u4ee5\u53ca\u65b0\u529f\u80fd<br \/>\nDate and Time \u2013 The TZ environment variable is no longer used to guess the timezone<br \/>\ncURL \u2013 cURL\u652f\u6301SSH<br \/>\nNetwork \u2013 dns_check_record()\u8fd4\u56de\u989d\u5916\u7684\u952e\u201dentries\u201d, \u5305\u542b\u57df\u540d\u7684TXT\u8bb0\u5f55.<br \/>\nHash \u2013 \u652f\u6301SHA-224 \u548c salsa hash algorithms<br \/>\nmbstring \u2013 \u652f\u6301 CP850\u7f16\u7801<br \/>\nOCI8 \u2013 A call to oci_close() on a persistent connection, or a variable referencing a persistent connection going out of scope,<br \/>\nwill now roll back any uncommitted transaction. To avoid unexpected behavior, explicitly issue a commit or roll back as needed.<br \/>\nThe old behavior can be enabled with the INI directive oci8.old_oci_close_semantics.<br \/>\nDatabase Resident Connection Pooling (DRCP) and Fast Application Notification (FAN) are now supported.<br \/>\nOracle External Authentication is now supported (except on Windows).<br \/>\nThe oci_bind_by_name() function now supports SQLT_AFC (aka the CHAR datatype).<br \/>\nOpenSSL \u2013 OpenSSL digest and cipher functions are now supported. It is also now possible to access the internal values of DSA, RSA and DH keys.<br \/>\nSession \u2013 Sessions will no longer store session-files in \u201c\/tmp\u201d when open_basedir restrictions apply, unless \u201c\/tmp\u201d is explicitly added to the list of allowed paths.<br \/>\nSOAP Now supports sending user supplied HTTP headers.<br \/>\nMySQLi \u5728\u4e3b\u673a\u540d\u524d\u6dfb\u52a0\u201dp:\u201d\u5c06\u652f\u6301\u6301\u4e45\u8fde\u63a5<br \/>\nImage Processing and GD The \u201cJPG Support\u201d index returned from gd_info() has been renamed to \u201cJPEG Support\u201d.<\/p>\n<p>\u5341\u516d\u3001\u65b0\u7684\u7c7b<br \/>\nDate\/Time:<br \/>\nDateInterval<br \/>\nDatePeriod<br \/>\nPhar:<br \/>\nPhar<br \/>\nPharData<br \/>\nPharException<br \/>\nPharFileInfo<br \/>\nSPL:<br \/>\nFilesystemIterator<br \/>\nGlobIterator<br \/>\nMultipleIterator<br \/>\nRecursiveTreeIterator<br \/>\nSplDoublyLinkedList<br \/>\nSplFixedArray<br \/>\nSplHeap<br \/>\nSplMaxHeap<br \/>\nSplMinHeap<br \/>\nSplPriorityQueue<br \/>\nSplQueue<br \/>\nSplStack<\/p>\n<p>\u5341\u4e03\u3001\u65b0\u7684\u5168\u5c40\u5e38\u91cf<br \/>\nPHP Core:<br \/>\n__DIR__<br \/>\n__NAMESPACE__<br \/>\nE_DEPRECATED<br \/>\nE_USER_DEPRECATED<br \/>\nINI_SCANNER_NORMAL<br \/>\nINI_SCANNER_RAW<br \/>\nPHP_MAXPATHLEN<br \/>\nPHP_WINDOWS_NT_DOMAIN_CONTROLLER<br \/>\nPHP_WINDOWS_NT_SERVER<br \/>\nPHP_WINDOWS_NT_WORKSTATION<br \/>\nPHP_WINDOWS_VERSION_BUILD<br \/>\nPHP_WINDOWS_VERSION_MAJOR<br \/>\nPHP_WINDOWS_VERSION_MINOR<br \/>\nPHP_WINDOWS_VERSION_PLATFORM<br \/>\nPHP_WINDOWS_VERSION_PRODUCTTYPE<br \/>\nPHP_WINDOWS_VERSION_SP_MAJOR<br \/>\nPHP_WINDOWS_VERSION_SP_MINOR<br \/>\nPHP_WINDOWS_VERSION_SUITEMASK<br \/>\ncURL:<br \/>\nCURLOPT_PROGRESSFUNCTION<br \/>\nGD:<br \/>\nIMG_FILTER_PIXELATE<\/p>\n<p>JSON:<br \/>\nJSON_ERROR_CTRL_CHAR<br \/>\nJSON_ERROR_DEPTH<br \/>\nJSON_ERROR_NONE<br \/>\nJSON_ERROR_STATE_MISMATCH<br \/>\nJSON_ERROR_SYNTAX<br \/>\nJSON_FORCE_OBJECT<br \/>\nJSON_HEX_TAG<br \/>\nJSON_HEX_AMP<br \/>\nJSON_HEX_APOS<br \/>\nJSON_HEX_QUOT<br \/>\nLDAP:<br \/>\nLDAP_OPT_NETWORK_TIMEOUT<br \/>\nlibxml:<br \/>\nLIBXML_LOADED_VERSION<br \/>\nPCRE:<br \/>\nPREG_BAD_UTF8_OFFSET_ERROR<br \/>\nPCNTL:<br \/>\nBUS_ADRALN<br \/>\nBUS_ADRERR<br \/>\nBUS_OBJERR<br \/>\nCLD_CONTIUNED<br \/>\nCLD_DUMPED<br \/>\nCLD_EXITED<br \/>\nCLD_KILLED<br \/>\nCLD_STOPPED<br \/>\nCLD_TRAPPED<br \/>\nFPE_FLTDIV<br \/>\nFPE_FLTINV<br \/>\nFPE_FLTOVF<br \/>\nFPE_FLTRES<br \/>\nFPE_FLTSUB<br \/>\nFPE_FLTUND<br \/>\nFPE_INTDIV<br \/>\nFPE_INTOVF<br \/>\nILL_BADSTK<br \/>\nILL_COPROC<br \/>\nILL_ILLADR<br \/>\nILL_ILLOPC<br \/>\nILL_ILLOPN<br \/>\nILL_ILLTRP<br \/>\nILL_PRVOPC<br \/>\nILL_PRVREG<br \/>\nPOLL_ERR<br \/>\nPOLL_HUP<br \/>\nPOLL_IN<br \/>\nPOLL_MSG<br \/>\nPOLL_OUT<br \/>\nPOLL_PRI<br \/>\nSEGV_ACCERR<br \/>\nSEGV_MAPERR<br \/>\nSI_ASYNCIO<br \/>\nSI_KERNEL<br \/>\nSI_MESGQ<br \/>\nSI_NOINFO<br \/>\nSI_QUEUE<br \/>\nSI_SIGIO<br \/>\nSI_TIMER<br \/>\nSI_TKILL<br \/>\nSI_USER<br \/>\nSIG_BLOCK<br \/>\nSIG_SETMASK<br \/>\nSIG_UNBLOCK<br \/>\nTRAP_BRKPT<br \/>\nTRAP_TRACE<\/p>\n<p>\u5341\u516b\u3001INI\u6587\u4ef6\u5904\u7406\u7684\u53d8\u5316<br \/>\nPHP 5.3.0\u663e\u8457\u6539\u8fdb\u4e86INI\u6587\u4ef6\u89e3\u6790\u7684\u6027\u80fd\uff0c\u5e76\u4e14\u6dfb\u52a0\u82e5\u5e72\u65b0\u8bed\u6cd5\u529f\u80fd<br \/>\nThe standard php.ini files have been re-organized and renamed. php.ini-development contains settings recommded for use in development environments. php.ini-production contains settings recommended for use in production environments.<br \/>\nThere is now support for two special sections: [PATH=\/opt\/httpd\/www.example.com\/] and [HOST=www.example.com]. Directives set in these sections cannot be overridden by user-defined INI files or at runtime. More information about these sections can be found here.<br \/>\nzend_extension_debug and zend_extension_ts have been removed. Use the zend_extension directive to load all Zend Extensions.<br \/>\nzend.ze1_compatibility_mode has been removed. If this INI directive is set to On, an E_ERROR error is emitted at startup.<br \/>\nIt is now possible to use the full path to load modules using the \u201cextension\u201d directive.<br \/>\n\u201cini-variables\u201d can now be used almost anywhere in a php.ini file.<br \/>\nRuntime tightening of open_basedir restrictions is now possible.<br \/>\nIt is now possible to use alphanumeric or variable indices in INI option arrays.<br \/>\nget_cfg_var() is now able to return \u201carray\u201d INI options.<br \/>\nA new directive, mail.add_x_header, has been added.<br \/>\nuser_ini.filename is new<br \/>\nuser_ini.cache_ttl is also new<br \/>\nexit_on_timeout is new too<br \/>\nopen_basedir is now PHP_INI_ALL<br \/>\nThe following new ini directives have been added:<br \/>\nuser_ini.filename and user_ini.cache_ttl for the new .htaccess-style user INI file mechanism.<br \/>\nAdded mbstring.http_output_conv_mimetype. This directive specifies the regex pattern of content types for which mb_output_handler() is activated.<br \/>\nAdded request_order. Allows controlling which external variables will be available in $_REQUEST.<br \/>\nThe following ini directives have new default values:<br \/>\nsession.use_only_cookies is now set to \u201c1\u2033 (enabled) by default.<br \/>\noci8.default_prefetch has changed from \u201c10\u2033 to \u201c100\u2033.<br \/>\n\u5341\u4e5d\u3001\u5176\u4ed6\u53d8\u5316<br \/>\nSplFileInfo::getpathinfo() \u8fd4\u56depath name\u4fe1\u606f<br \/>\nSplObjectStorage now has ArrayAccess support. It is now also possible to store associative information with objects in SplObjectStorage.<br \/>\nIn the GD extension, there is now pixelation support available through the imagefilter() function.<br \/>\nvar_dump() \u8f93\u51fa\u5c06\u5305\u542b\u79c1\u6709\u5c5e\u6027<br \/>\nsession_start() \u5931\u8d25\u8fd4\u56deFALSE<br \/>\nproperty_exists() now checks the existence of a property independent of accessibility (like method_exists()).<br \/>\nStream wrappers can now be used by include_path.<br \/>\nThe initial parameter for array_reduce() can now be of any type.<br \/>\nThe directory functions opendir(), scandir(), and dir() now use the default stream context if no explicit context is passed.<br \/>\ncrypt() now has Blowfish and extended DES support, and crypt() features are now 100% portable. PHP has its own internal crypt implementation which drops into place when support for crypt or crypt_r is not found.<br \/>\ngetopt() now accepts \u201clong options\u201d on all platforms. Optional values and = as a separator for short options are now supported.<br \/>\nfopen()\u6709\u4e86\u65b0\u7684\u6a21\u5f0f\u9009\u9879(n), which passes O_NONBLOCK to the underlying open() system call. \u8fd9\u4e2a\u6a21\u5f0f\u5df2\u7ecf\u80fd\u5728windows\u4e0a\u4f7f\u7528\u3002<br \/>\ngetimagesize() \u652f\u6301icon\u6587\u4ef6(.ico).<br \/>\nmhash\u6269\u5c55\u79fb\u5230PECL, \u7f16\u8bd1\u65f6\u4f7f\u7528\u2013with-mhash\u9009\u9879\uff0chash\u6269\u5c55\u5c06\u517c\u5bb9mhash\u3002\u6ce8\u610f\uff1ahash\u6269\u5c55\u5f00\u542f\u517c\u5bb9mhash\uff0c\u65e0\u9700mhash\u5e93\u7684\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>php\u5b98\u65b9\u5df2\u7ecf\u4e0d\u518d\u79ef\u6781\u66f4\u65b0php5.2.x\u4e86\uff0c\u770b\u5230\u4e00\u7bc7\u6587\u7ae0\u8bb2\u4ecephp5.2.x\u5347\u7ea7\u5230php5.3.x\u7684\uff0c\u5148\u505a\u4e2a <a href='https:\/\/www.icocean.com\/blog\/?p=2617' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[404,1280,398],"class_list":["post-2617","post","type-post","status-publish","format-standard","hentry","category-4","tag-php","tag-1280","tag-398","category-4-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2617"}],"version-history":[{"count":1,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2617\/revisions"}],"predecessor-version":[{"id":2618,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2617\/revisions\/2618"}],"wp:attachment":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}