{"id":30514,"date":"2023-05-16T00:25:18","date_gmt":"2023-04-10T02:53:06","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/"},"modified":"2025-08-12T19:32:31","modified_gmt":"2025-08-12T11:32:31","slug":"%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/","title":{"rendered":"\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5"},"content":{"rendered":"<h1>\u4f7f\u7528php7cc\u5de5\u5177\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5\u3002\u53ef\u80fd\u5728EC-CUBE\u76f8\u5173\u7684\u7cfb\u7edf\u5f00\u53d1\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u5c06PHP5.6\u8fc1\u79fb\u5230PHP7\u3002\u56e0\u6b64\uff0c\u6211\u60f3\u7559\u4e0b\u90a3\u65f6\u7684\u5de5\u4f5c\u5907\u5fd8\u5f55\u3002<br \/>\n\u4ece2018\u5e744\u670817\u65e5\uff08\u5f53\u524d\u65f6\u95f4\uff09\u5f00\u59cb\uff0cPHP5\u7cfb\u5217\u5728\u6280\u672f\u652f\u6301\u4e0a\u5df2\u7ecf\u88ab\u53d6\u6d88\uff0c\u5e76\u4e14\u4e0d\u518d\u53d1\u5e03\u5b89\u5168\u8865\u4e01\u7b49\u66f4\u65b0\u3002<br \/>\n\u7136\u800c\uff0c\u7531\u4e8ePHP5\u7cfb\u5217\u957f\u671f\u4ee5\u6765\u88ab\u5e7f\u6cdb\u4f7f\u7528\uff0c\u5347\u7ea7\u7248\u672c\u53ef\u80fd\u4f1a\u9047\u5230\u5f88\u591a\u56f0\u96be\u3002<\/p>\n<h2>\u4f7f\u7528php7cc\u8fdb\u884c\u8f6c\u6362\u68c0\u67e5\u3002\u6211\u6839\u636e\u4ee5\u4e0b\u6587\u7ae0\u7684\u53c2\u8003\u8fdb\u884c\u4e86\u8f6c\u5316\u68c0\u67e5\u3002<br \/>\n\u5bf9PHP7\u7684\u517c\u5bb9\u6027\u8fdb\u884c\u4e86\u68c0\u67e5\u3002<\/p>\n<h2>php7cc\u7684\u7ed3\u679c\u603b\u7ed3\u53ca\u5176\u5904\u7406\u65b9\u6cd5\u7684\u53c2\u8003\u8fd9\u4e2a\u5b9e\u65bd\u7ed3\u679c\u7684\u8f93\u51fa\u65e5\u5fd7\uff0c\u662f\u5c06\u9519\u8bef\u5185\u5bb9\u8fdb\u884cDISTINCT\u540e\u6c47\u603b\u5230\u4e0b\u8868\u4e2d\u3002<br \/>\n\u8fd9\u662f\u4f5c\u4e3a\u53c2\u8003\u4fe1\u606f\u8fdb\u884c\u6c47\u603b\u7684\uff0c\u6240\u4ee5\u53ef\u80fd\u5b58\u5728\u4e00\u4e9b\u4e0d\u5b8c\u5584\u4e4b\u5904\uff0c\u4f46\u57fa\u4e8e\u5404\u79cd\u8c03\u67e5\u7ed3\u679c\u8bb0\u5f55\u5728\u65e5\u5fd7\u4e2d\u4ee5\u5907\u67e5\u770b\uff0c\u603b\u7ed3\u5230\u8868\u683c\u4e2d\u3002<\/p>\n<div>\n<div class=\"post-table\">\uff03\u30a8\u30e9\u30fc\u30ed\u30b0\u7a2e\u985e\u6982\u8981\uff0f\u5bfe\u51e6\u65b9\u6cd51[Error] Bitwise shift by 7128 bits\u4e0d\u660e2[Error] break not in the loop or switch context\u4e0d\u8981\u306a\u7b87\u6240\u306bbreak\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b3[Error] Class\/trait\/interface &#8220;Error&#8221; was added in the global namespaceError\u3068\u3044\u3046\u540d\u524d\u7a7a\u9593\u306f\u4e88\u7d04\u8a9e\u3067\u3042\u308b\u305f\u3081\u4f7f\u7528\u3067\u304d\u306a\u3044\u30024[Error] Duplicate function parameter name &#8220;owner&#8221;\u5f15\u6570\u306b\u6307\u5b9a\u3055\u308c\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u540d\u304c\u91cd\u8907\u3057\u3066\u3044\u308b\u305f\u3081\u30a8\u30e9\u30fc\u30025[Error] Name &#8220;object&#8221; that is reserved for future use (does not cause an error in PHP 7) used as a use statement alias&#8221;object&#8221;\u304c\u4e88\u7d04\u8a9e\u306a\u305f\u3081\u30a8\u30e9\u30fc\u30026[Error] PHP 4 constructors are now deprecated\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306f\u300c__construct()\u300d\u306b\u3057\u306a\u3044\u3068\u30a8\u30e9\u30fc\u30027[Error] Removed &#8220;HTTP_RAW_POST_DATA&#8221; variable used\u3053\u306e\u6a5f\u80fd\u306f PHP 5.6.0 \u3067 \u975e\u63a8\u5968 \u3068\u306a\u308a\u3001 PHP 7.0.0 \u3067 \u524a\u9664 \u3055\u308c\u307e\u3057\u305f\u3002$HTTP_RAW_POST_DATA \u306e\u4ee3\u308f\u308a\u306b\u3001 php:\/\/input \u3092\u4f7f\u3046\u3079\u304d\u3067\u3059\u30028[Error] Removed argument $is_dst used for function &#8220;gmmktime&#8221;gmmktime\u95a2\u6570\u306eis_dst\u5f15\u6570\u306f\u3001PHP7.0.0\u3067\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u30029[Error] Removed argument $is_dst used for function &#8220;mktime&#8221;mktime\u95a2\u6570\u306eis_dst\u5f15\u6570\u306f\u3001PHP7.0.0\u3067\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u300210[Error] Removed function &#8220;ereg&#8221; callederep\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u4ee3\u66ff\u95a2\u6570\u3068\u3057\u3066preg_match()\u3092\u5229\u7528\u3059\u308b\u300211[Error] Removed function &#8220;ereg_replace&#8221; calledereg_replace\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002preg_replace\u306b\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u3067\u5bfe\u5fdc\u53ef\u80fd\u300212[Error] Removed function &#8220;EregI&#8221; callederegi\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002preg_match() (i (PCRE_CASELESS) \u4fee\u98fe\u5b50\u3092\u4f7f\u3046)13[Error] Removed function &#8220;eregi_replace&#8221; callederegi_replace\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002preg_replace() (with the i (PCRE_CASELESS) modifier)14[Error] Removed function &#8220;mssql_bind&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDOStatement::bindParam()PDOStatement::bindValue()sqlsrv_prepare()odbc_prepare()15[Error] Removed function &#8220;mssql_close&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002sqlsrv_close()odbc_close()odbc_close_all()16[Error] Removed function &#8220;mssql_connect&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDO::__construct()sqlsrv_connect()odbc_connect()17[Error] Removed function &#8220;mssql_data_seek&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDO_SQLSRV\u3001 PDO_ODBC\u3001 SQLSRV \u3042\u308b\u3044\u306f unified ODBC \u30c9\u30e9\u30a4\u30d0 \u3067\u767a\u884c\u3057\u305f\u30af\u30a8\u30ea\u3067 OFFSET \u53e5\u3092\u4f7f\u304618[Error] Removed function &#8220;mssql_execute&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDO_SQLSRV\u3001 PDO_ODBC\u3001 SQLSRV \u3042\u308b\u3044\u306f unified ODBC \u30c9\u30e9\u30a4\u30d0 \u3067 EXEC \u30af\u30a8\u30ea\u3092\u767a\u884c\u3059\u308b19[Error] Removed function &#8220;mssql_fetch_array&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDOStatement::fetch()sqlsrv_fetch_array()odbc_fetch_array()20[Error] Removed function &#8220;mssql_fetch_assoc&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDOStatement::fetch()sqlsrv_fetch_array()odbc_fetch_array()21[Error] Removed function &#8220;mssql_fetch_field&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDOStatement::getColumnMeta()sqlsrv_field_metadata()unified ODBC \u30c9\u30e9\u30a4\u30d0 \u306e odbc_field_* \u95a2\u6570\u7fa422[Error] Removed function &#8220;mssql_fetch_row&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDOStatement::fetch()sqlsrv_fetch_array()odbc_fetch_row()23[Error] Removed function &#8220;mssql_field_length&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDOStatement::getColumnMeta()sqlsrv_field_metadata()odbc_field_len()24[Error] Removed function &#8220;mssql_field_name&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDOStatement::getColumnMeta()sqlsrv_field_metadata()odbc_field_name()25[Error] Removed function &#8220;mssql_field_type&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDOStatement::getColumnMeta()sqlsrv_field_metadata()odbc_field_type()26[Error] Removed function &#8220;mssql_free_result&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002odbc_free_result()27[Error] Removed function &#8220;mssql_get_last_message&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDOStatement::errorInfo()sqlsrv_errors()odbc_errormsg()28[Error] Removed function &#8220;mssql_init&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDO_SQLSRV\u3001 PDO_ODBC\u3001 SQLSRV \u3042\u308b\u3044\u306f unified ODBC \u30c9\u30e9\u30a4\u30d0 \u3067 EXEC \u30af\u30a8\u30ea\u3092\u767a\u884c\u3059\u308b29[Error] Removed function &#8220;mssql_next_result&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDOStatement::nextRowset()sqlsrv_next_result()odbc_next_result()30[Error] Removed function &#8220;mssql_num_fields&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDOStatement::columnCount()sqlsrv_num_fields()odbc_num_fields()31[Error] Removed function &#8220;mssql_num_rows&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDOStatement::rowCount()sqlsrv_num_rows()odbc_num_rows()32[Error] Removed function &#8220;mssql_pconnect&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDO::__construct()sqlsrv_connect()odbc_pconnect()33[Error] Removed function &#8220;mssql_query&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDO::query()sqlsrv_query()odbc_exec()34[Error] Removed function &#8220;mssql_select_db&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002PDO_SQLSRV DSNPDO_ODBC DSNsqlsrv_connect()odbc_connect()35[Error] Removed function &#8220;mysql_affected_rows&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_affected_rows()PDOStatement::rowCount()36[Error] Removed function &#8220;mysql_close&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_close()PDO: PDO \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u306e NULL \u306e\u4ee3\u516537[Error] Removed function &#8220;mysql_connect&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_connect()PDO::__construct()38[Error] Removed function &#8220;mysql_data_seek&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_data_seek()PDO::FETCH_ORI_ABS39[Error] Removed function &#8220;mysql_errno&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_errno()PDO::errorCode()40[Error] Removed function &#8220;mysql_error&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_error()PDO::errorInfo()41[Error] Removed function &#8220;mysql_escape_string&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_escape_string()PDO::quote()$q = mysql_escape_string( $q ); \u3000\u3000 \u2193$mysqli = new mysqli(&#8216;\u30b5\u30fc\u30d0\u540d&#8217;, &#8216;\u30e6\u30fc\u30b6\u30fc\u540d&#8217;,&#8217;\u30d1\u30b9\u30ef\u30fc\u30c9&#8217;, &#8216;DB\u540d&#8217;);$q = $mysqli-&gt;real_escape_string( $q );42[Error] Removed function &#8220;mysql_fetch_array&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_fetch_array()PDOStatement::fetch()43[Error] Removed function &#8220;mysql_fetch_field&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_fetch_field()PDOStatement::getColumnMeta()44[Error] Removed function &#8220;mysql_fetch_row&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_fetch_row()PDOStatement::fetch(PDO::FETCH_NUM)45[Error] Removed function &#8220;mysql_field_flags&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_fetch_field_direct() [flags]PDOStatement::getColumnMeta() [flags]46[Error] Removed function &#8220;mysql_field_len&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_fetch_field_direct() [length]PDOStatement::getColumnMeta() [len]47[Error] Removed function &#8220;mysql_field_name&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_fetch_field_direct() [name] \u3042\u308b\u3044\u306f [orgname]PDOStatement::getColumnMeta() [name]48[Error] Removed function &#8220;mysql_field_table&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_fetch_field_direct() [table] \u3042\u308b\u3044\u306f [orgtable]PDOStatement::getColumnMeta() [table]49[Error] Removed function &#8220;mysql_field_type&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_fetch_field_direct() [type]PDOStatement::getColumnMeta() [driver:decl_type] \u3042\u308b\u3044\u306f [pdo_type]50[Error] Removed function &#8220;mysql_free_result&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_free_result()NULL \u3092 PDO \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u4ee3\u5165\u3001\u3042\u308b\u3044\u306f PDOStatement::closeCursor()51[Error] Removed function &#8220;mysql_insert_id&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_insert_id()PDO::lastInsertId()52[Error] Removed function &#8220;mysql_list_dbs&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002SQL \u30af\u30a8\u30ea\u30fc: SHOW DATABASES53[Error] Removed function &#8220;mysql_list_fields&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002SQL \u30af\u30a8\u30ea\u30fc: SHOW COLUMNS FROM sometable54[Error] Removed function &#8220;mysql_num_fields&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_num_fields()PDOStatement::columnCount()55[Error] Removed function &#8220;mysql_num_rows&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_num_rows()mysqli_stmt_num_rows()PDOStatement::rowCount()56[Error] Removed function &#8220;mysql_pconnect&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_connect() \u306b\u30db\u30b9\u30c8\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9 p: \u3092\u6307\u5b9aPDO::__construct() \u306e\u30c9\u30e9\u30a4\u30d0\u30aa\u30d7\u30b7\u30e7\u30f3\u3067 PDO::ATTR_PERSISTENT \u3092\u6307\u5b9a57[Error] Removed function &#8220;mysql_query&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_query()PDO::query()58[Error] Removed function &#8220;mysql_real_escape_string&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_real_escape_string()PDO::quote()59[Error] Removed function &#8220;mysql_select_db&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002mysqli_select_db()PDO::__construct() (dsn \u3067\u6307\u5b9a)60[Error] Removed function &#8220;mysql_tablename&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002SQL \u30af\u30a8\u30ea\u30fc: SHOW TABLES61[Error] Removed function &#8220;mysql_unbuffered_query&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002Buffered and Unbuffered queries \u3092\u53c2\u716762[Error] Removed function &#8220;set_magic_quotes_runtime&#8221; calledmagic_quotes_runtime \u306e\u73fe\u5728\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u8a2d\u5b9a\u3092\u30bb\u30c3\u30c8\u3059\u308b\u3053\u306e\u95a2\u6570\u306f PHP 5.3.0 \u3067 \u975e\u63a8\u5968 \u3068\u306a\u308a\u3001 PHP 7.0.0 \u3067 \u524a\u9664 \u3055\u308c\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u524a\u9664\uff08\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\uff09\u3059\u308b\u3060\u3051\u3067OK\u3002set_magic_quotes_runtime(true); \u3000\u3000 \u2193\/\/ set_magic_quotes_runtime(true);63[Error] Removed function &#8220;split&#8221; called\u3053\u306e\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306e\u4ee3\u66ff\u3068\u3057\u3066\u3001\u3053\u308c\u3089\u304c\u4f7f\u3048\u307e\u3059\u3002preg_split()explode()str_split()64[Error] Removed regular expression modifier &#8220;e&#8221; used\u4e0d\u660e65[Error] Result of new is assigned by reference\u4e0d\u660e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528php7cc\u5de5\u5177\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5\u3002\u53ef\u80fd\u5728EC-CUBE\u76f8\u5173\u7684\u7cfb\u7edf\u5f00\u53d1\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u5c06PH [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-30514","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528php7cc\u8fdb\u884cphp5-6\u5230php7\u7684\u8f6c\u6362\u68c0\u67e5\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528php7cc\u8fdb\u884cphp5-6\u5230php7\u7684\u8f6c\u6362\u68c0\u67e5\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-10T02:53:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T11:32:31+00:00\" \/>\n<meta name=\"author\" content=\"\u79d1, \u9896\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u9896\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/\",\"name\":\"\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-04-10T02:53:06+00:00\",\"dateModified\":\"2025-08-12T11:32:31+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e\"},\"description\":\"\u5173\u4e8e\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e\",\"name\":\"\u79d1, \u9896\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u9896\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5 - Blog - Silicon Cloud","description":"\u5173\u4e8e\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5\u7684\u6280\u672f\u6587\u7ae0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528php7cc\u8fdb\u884cphp5-6\u5230php7\u7684\u8f6c\u6362\u68c0\u67e5\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5","og_description":"\u5173\u4e8e\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528php7cc\u8fdb\u884cphp5-6\u5230php7\u7684\u8f6c\u6362\u68c0\u67e5\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-04-10T02:53:06+00:00","article_modified_time":"2025-08-12T11:32:31+00:00","author":"\u79d1, \u9896","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u9896","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/","name":"\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-04-10T02:53:06+00:00","dateModified":"2025-08-12T11:32:31+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e"},"description":"\u5173\u4e8e\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528php7cc\u8fdb\u884cPHP5.6\u5230PHP7\u7684\u8f6c\u6362\u68c0\u67e5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e","name":"\u79d1, \u9896","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","caption":"\u79d1, \u9896"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8php7cc%e8%bf%9b%e8%a1%8cphp5-6%e5%88%b0php7%e7%9a%84%e8%bd%ac%e6%8d%a2%e6%a3%80%e6%9f%a5%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=30514"}],"version-history":[{"count":3,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30514\/revisions"}],"predecessor-version":[{"id":111758,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30514\/revisions\/111758"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=30514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=30514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=30514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}