{"id":183240,"date":"2024-05-08T21:40:45","date_gmt":"2024-05-08T13:40:45","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/183240.html"},"modified":"2024-05-08T21:40:58","modified_gmt":"2024-05-08T13:40:58","slug":"php%e7%9a%84%e5%8d%8f%e7%a8%8b%e8%b7%9fgo%e7%9a%84%e5%8d%8f%e7%a8%8b%e5%ae%9e%e7%8e%b0%e6%9c%89%e4%bb%80%e4%b9%88%e5%8c%ba%e5%88%ab","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/183240.html","title":{"rendered":"PHP\u7684\u534f\u7a0b\u8ddfGO\u7684\u534f\u7a0b\u5b9e\u73b0\u6709\u4ec0\u4e48\u533a\u522b"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27073722\/291318bb-2a6a-4d66-9b98-84f85ca0a843.webp\" alt=\"PHP\u7684\u534f\u7a0b\u8ddfGO\u7684\u534f\u7a0b\u5b9e\u73b0\u6709\u4ec0\u4e48\u533a\u522b\" \/><\/p>\n<p><p>PHP\u7684\u534f\u7a0b\u4e0eGo\u7684\u534f\u7a0b\u5728\u5b9e\u73b0\u65b9\u5f0f\u3001\u8fd0\u884c\u539f\u7406\u3001\u4ee5\u53ca\u5e94\u7528\u573a\u666f\u4e0a\u6709\u7740\u663e\u8457\u7684\u5dee\u5f02\u3002<strong>PHP\u7684\u534f\u7a0b\u57fa\u4e8e\u7528\u6237\u6001\u7684\u8c03\u5ea6\u3001\u4e3b\u8981\u901a\u8fc7\u6269\u5c55\u5b9e\u73b0\uff0c\u4fa7\u91cd\u4e8e\u63d0\u9ad8IO\u64cd\u4f5c\u6548\u7387\uff1b\u800cGo\u7684\u534f\u7a0b\uff08goroutines\uff09\u662f\u5176\u8bed\u8a00\u5c42\u9762\u7684\u7279\u6027\u3001\u91c7\u7528\u8f7b\u91cf\u7ea7\u7ebf\u7a0b\u3001\u5177\u6709\u66f4\u9ad8\u7684\u6267\u884c\u6548\u7387\u548c\u66f4\u7b80\u4fbf\u7684\u4f7f\u7528\u65b9\u5f0f<\/strong>\u3002\u4e0b\u9762\u7740\u91cd\u63cf\u8ff0PHP\u534f\u7a0b\u548cGo\u534f\u7a0b\u7684\u5b9e\u73b0\u539f\u7406\u65b9\u9762\u7684\u5dee\u5f02\u3002<\/p>\n<\/p>\n<p><p>PHP\u534f\u7a0b\u7684\u5b9e\u73b0\u5927\u591a\u57fa\u4e8e\u6269\u5c55\uff0c\u5982Swoole\u3001Workerman\u7b49\uff0c\u901a\u8fc7\u8fd9\u4e9b\u6269\u5c55\u63d0\u4f9b\u534f\u7a0b\u652f\u6301\u3002\u5728PHP\u4e2d\uff0c\u534f\u7a0b\u7684\u5b9e\u73b0\u4f9d\u8d56\u4e8ePHP\u7684\u5f02\u6b65\u975e\u963b\u585eIO\u6a21\u578b\uff0c\u901a\u8fc7\u4fdd\u5b58\u548c\u6062\u590d\u4e0a\u4e0b\u6587\u6765\u8fbe\u5230\u534f\u7a0b\u5207\u6362\u7684\u76ee\u7684\uff0c\u5b9e\u73b0\u4e86\u4ee3\u7801\u7684\u5f02\u6b65\u6267\u884c\u3002\u8fd9\u79cd\u65b9\u5f0f\u4e3b\u8981\u662f\u901a\u8fc7\u7528\u6237\u6001\u7684\u8c03\u5ea6\u6765\u7ba1\u7406\u534f\u7a0b\u7684\u6267\u884c\uff0c\u4e0d\u9700\u8981\u64cd\u4f5c\u7cfb\u7edf\u53c2\u4e0e\u8c03\u5ea6\uff0c\u4ece\u800c\u51cf\u5c0f\u4e86\u7cfb\u7edf\u8c03\u7528\u7684\u5f00\u9500\uff0c\u63d0\u9ad8\u4e86\u6267\u884c\u6548\u95f4\u3002\u4f46\u7531\u4e8ePHP\u672c\u8eab\u662f\u540c\u6b65\u963b\u585e\u6a21\u578b\uff0c\u534f\u7a0b\u7684\u4f7f\u7528\u548c\u7ba1\u7406\u9700\u8981\u501f\u52a9\u7279\u5b9a\u7684\u6269\u5c55\u6765\u5b9e\u73b0\uff0c\u8fd9\u4e5f\u9650\u5236\u4e86\u5176\u5728\u6ca1\u6709\u5b89\u88c5\u76f8\u5e94\u6269\u5c55\u7684\u73af\u5883\u4e0b\u7684\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b9e\u73b0\u539f\u7406<\/h3>\n<\/p>\n<p><h4>PHP\u534f\u7a0b<\/h4>\n<\/p>\n<p><p>PHP\u7684\u534f\u7a0b\u5b9e\u73b0\u901a\u5e38\u662f\u901a\u8fc7\u7b2c\u4e09\u65b9\u6269\u5c55\u6765\u63d0\u4f9b\u7684\uff0c\u6700\u77e5\u540d\u7684\u5c31\u662fSwoole\u3002\u5728Swoole\u4e2d\uff0c\u534f\u7a0b\u662f\u901a\u8fc7\u4e00\u4e2a\u79f0\u4e3a&quot;\u534f\u7a0b\u8c03\u5ea6\u5668&quot;\u7684\u673a\u5236\u5b9e\u73b0\u7684\u3002\u5b83\u5141\u8bb8\u5f00\u53d1\u8005\u7528\u540c\u6b65\u7f16\u7801\u7684\u65b9\u5f0f\uff0c\u6765\u7f16\u5199\u5f02\u6b65\u7684\u975e\u963b\u585eIO\u64cd\u4f5c\u3002\u8fd9\u79cd\u8f6c\u6362\u662f\u901a\u8fc7\u4fdd\u5b58\u5f53\u524d\u534f\u7a0b\u7684\u72b6\u6001\uff08\u5305\u62ec\u8c03\u7528\u6808\u3001\u5c40\u90e8\u53d8\u91cf\u7b49\uff09\uff0c\u7136\u540e\u6302\u8d77\u534f\u7a0b\uff0c\u5c06\u63a7\u5236\u6743\u4ea4\u56de\u7ed9\u534f\u7a0b\u8c03\u5ea6\u5668\u6765\u5b9e\u73b0\u7684\u3002\u7b49\u5230\u5f02\u6b65IO\u64cd\u4f5c\u5b8c\u6210\u540e\uff0c\u518d\u6062\u590d\u534f\u7a0b\u7684\u6267\u884c\u3002\u8fd9\u6837\u7684\u8bbe\u8ba1\u4f7f\u5f97PHP\u7684\u5f02\u6b65\u7f16\u7a0b\u53d8\u5f97\u66f4\u52a0\u76f4\u89c2\u548c\u6613\u4e8e\u7ba1\u7406\uff0c\u4f46\u4e5f\u610f\u5473\u7740\u9700\u8981\u5f00\u53d1\u8005\u5bf9\u534f\u7a0b\u7684\u751f\u547d\u5468\u671f\u548c\u72b6\u6001\u8f6c\u6362\u6709\u4e00\u5b9a\u7684\u4e86\u89e3\u548c\u63a7\u5236\u3002<\/p>\n<\/p>\n<p><h4>Go\u534f\u7a0b<\/h4>\n<\/p>\n<p><p>\u4e0ePHP\u534f\u7a0b\u57fa\u4e8e\u6269\u5c55\u7684\u5b9e\u73b0\u4e0d\u540c\uff0cGo\u7684\u534f\u7a0b\u673a\u5236\u662f\u5185\u7f6e\u5728\u8bed\u8a00\u5c42\u9762\u7684\u3002Go\u8bed\u8a00\u7684\u8bbe\u8ba1\u8005\u901a\u8fc7\u5f15\u5165goroutines\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u66f4\u52a0\u8f7b\u91cf\u7ea7\u7684\u5e76\u53d1\u6267\u884c\u5355\u5143\u3002\u5728Go\u4e2d\uff0c\u542f\u52a8\u4e00\u4e2agoroutine\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5728\u51fd\u6570\u8c03\u7528\u524d\u52a0\u4e0a<code>go<\/code>\u5173\u952e\u5b57\u3002\u6bcf\u4e2agoroutine\u62e5\u6709\u72ec\u7acb\u7684\u5806\u6808\u7a7a\u95f4\uff0c\u800c\u4e14\u5176\u5806\u6808\u5927\u5c0f\u662f\u53ef\u4ee5\u52a8\u6001\u6269\u5c55\u548c\u6536\u7f29\u7684\uff0c\u8fd9\u589e\u52a0\u4e86goroutine\u7684\u7075\u6d3b\u6027\u548c\u6548\u7387\u3002Go\u8fd0\u884c\u65f6\u8d1f\u8d23goroutines\u7684\u8c03\u5ea6\uff0c\u80fd\u591f\u5b9e\u73b0\u6570\u5341\u4e07\u751a\u81f3\u767e\u4e07\u7ea7\u7684goroutines\u5e76\u53d1\u6267\u884c\uff0c\u800c\u4e14\u5728\u8c03\u5ea6\u4e0a\u505a\u4e86\u5927\u91cf\u4f18\u5316\uff0c\u4f7f\u5f97\u4e0a\u4e0b\u6587\u5207\u6362\u7684\u5f00\u9500\u6781\u5c0f\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u8c03\u5ea6\u6a21\u578b<\/h3>\n<\/p>\n<p><h4>PHP\u534f\u7a0b\u8c03\u5ea6<\/h4>\n<\/p>\n<p><p>PHP\u534f\u7a0b\u7684\u8c03\u5ea6\u662f\u57fa\u4e8e\u4e8b\u4ef6\u5faa\u73af\u7684\u3002\u5f53\u4e00\u4e2a\u534f\u7a0b\u9047\u5230IO\u64cd\u4f5c\u65f6\uff0c\u5b83\u4f1a\u6ce8\u518c\u4e00\u4e2a\u4e8b\u4ef6\u5230\u4e8b\u4ef6\u5faa\u73af\u4e0a\uff0c\u5e76\u6302\u8d77\u5f53\u524d\u534f\u7a0b\u3002\u4e8b\u4ef6\u5faa\u73af\u7ee7\u7eed\u8fd0\u884c\uff0c\u6267\u884c\u5176\u4ed6\u534f\u7a0b\u6216\u4efb\u52a1\u3002\u5f53IO\u64cd\u4f5c\u5b8c\u6210\uff0c\u76f8\u5e94\u7684\u4e8b\u4ef6\u88ab\u89e6\u53d1\uff0c\u4e8b\u4ef6\u5faa\u73af\u4f1a\u6062\u590d\u88ab\u6302\u8d77\u7684\u534f\u7a0b\uff0c\u7ee7\u7eed\u6267\u884c\u534f\u7a0b\u4e4b\u524d\u7684\u64cd\u4f5c\u3002\u8fd9\u79cd\u6a21\u578b\u8981\u6c42\u5f00\u53d1\u8005\u5728\u7f16\u5199\u534f\u7a0b\u4ee3\u7801\u65f6\uff0c\u9700\u8981\u660e\u786e\u5730\u6807\u8bb0\u534f\u7a0b\u7684\u6302\u8d77\u548c\u6062\u590d\u70b9\uff0c\u8fd9\u4f7f\u5f97\u4ee3\u7801\u7684\u4e66\u5199\u548c\u7406\u89e3\u90fd\u76f8\u5bf9\u590d\u6742\u3002<\/p>\n<\/p>\n<p><h4>Go\u534f\u7a0b\u8c03\u5ea6<\/h4>\n<\/p>\n<p><p>Go\u7684\u534f\u7a0b\u8c03\u5ea6\u5219\u4e0d\u9700\u8981\u5f00\u53d1\u8005\u663e\u5f0f\u7ba1\u7406\u3002Go\u8fd0\u884c\u65f6\u5185\u542b\u4e00\u4e2a\u53eb\u505aM:N\u7684\u8c03\u5ea6\u5668\uff0c\u5b83\u80fd\u591f\u5c06M\u4e2agoroutines\u6620\u5c04\u5230N\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u7ebf\u7a0b\u4e0a\u8fd0\u884c\u3002Go\u8c03\u5ea6\u5668\u5728\u8fd0\u884c\u65f6\u4f1a\u81ea\u52a8\u5730\u5728\u53ef\u7528\u7684\u7ebf\u7a0b\u4e0a\u8c03\u5ea6goroutines\uff0c\u5f00\u53d1\u8005\u65e0\u9700\u5173\u5fc3\u534f\u7a0b\u7684\u6682\u505c\u548c\u6062\u590d\uff0c\u8fd9\u6781\u5927\u7b80\u5316\u4e86\u5e76\u53d1\u7f16\u7a0b\u7684\u590d\u6742\u5ea6\u3002\u6b64\u5916\uff0cGo\u8c03\u5ea6\u5668\u4e5f\u4f1a\u8fdb\u884c\u8d1f\u8f7d\u5747\u8861\uff0c\u52a8\u6001\u5730\u8c03\u6574goroutines\u5728\u64cd\u4f5c\u7cfb\u7edf\u7ebf\u7a0b\u4e0a\u7684\u5206\u914d\uff0c\u4ee5\u8fbe\u5230\u9ad8\u6548\u7684\u5e76\u884c\u6267\u884c\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u6027\u80fd\u548c\u6548\u7387<\/h3>\n<\/p>\n<p><p>\u7531\u4e8eGo\u7684\u534f\u7a0b\u662f\u8bed\u8a00\u5c42\u9762\u652f\u6301\uff0c\u4e14\u5176\u8fd0\u884c\u65f6\u5bf9\u534f\u7a0b\u7684\u8c03\u5ea6\u505a\u4e86\u9ad8\u5ea6\u4f18\u5316\uff0c\u56e0\u6b64\u5728\u6027\u80fd\u548c\u6267\u884c\u6548\u7387\u4e0a\uff0cGo\u534f\u7a0b\u901a\u5e38\u4f18\u4e8ePHP\u534f\u7a0b\u3002Go\u7684goroutines\u5728\u542f\u52a8\u548c\u6267\u884c\u8fc7\u7a0b\u4e2d\u7684\u5f00\u9500\u975e\u5e38\u5c0f\uff0c\u80fd\u591f\u5b9e\u73b0\u9ad8\u5ea6\u5e76\u53d1\u7684\u5904\u7406\u3002\u6b64\u5916\uff0cGo\u7684\u5185\u5b58\u6a21\u578b\u548c\u5783\u573e\u56de\u6536\u673a\u5236\u4e5f\u4e3agoroutines\u7684\u9ad8\u6548\u6267\u884c\u63d0\u4f9b\u4e86\u652f\u6301\u3002<\/p>\n<\/p>\n<p><p>PHP\u534f\u7a0b\u867d\u7136\u80fd\u591f\u63d0\u9ad8IO\u5bc6\u96c6\u578b\u5e94\u7528\u7684\u6548\u7387\uff0c\u4f46\u5176\u4f9d\u8d56\u4e8e\u7279\u5b9a\u7684\u6269\u5c55\u548c\u4e8b\u4ef6\u5faa\u73af\u673a\u5236\uff0c\u8fd9\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u9650\u5236\u4e86\u5176\u6027\u80fd\u548c\u666e\u9002\u6027\u3002\u5c24\u5176\u662f\u5728\u534f\u7a0b\u6570\u91cf\u6781\u5927\u6216\u8005\u7a0b\u5e8f\u903b\u8f91\u8f83\u4e3a\u590d\u6742\u65f6\uff0cPHP\u534f\u7a0b\u7684\u6027\u80fd\u52a3\u52bf\u53ef\u80fd\u4f1a\u66f4\u52a0\u660e\u663e\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5e94\u7528\u573a\u666f\u548c\u6613\u7528\u6027<\/h3>\n<\/p>\n<p><p>\u4e24\u79cd\u534f\u7a0b\u673a\u5236\u5404\u6709\u4f18\u52bf\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u3002PHP\u534f\u7a0b\u9002\u5408\u4e8e\u5df2\u6709PHP\u9879\u76ee\u4e2d\u5f15\u5165\u5f02\u6b65\u5904\u7406\u80fd\u529b\uff0c\u6539\u5584IO\u5bc6\u96c6\u578b\u5e94\u7528\u7684\u6027\u80fd\uff0c\u4f8b\u5982Web\u670d\u52a1\u3001\u6570\u636e\u5e93\u64cd\u4f5c\u7b49\u3002\u800cGo\u7684\u534f\u7a0b\u5219\u66f4\u52a0\u901a\u7528\uff0c\u65e0\u8bba\u662fIO\u5bc6\u96c6\u578b\u5e94\u7528\u8fd8\u662fCPU\u5bc6\u96c6\u578b\u5e94\u7528\uff0c\u90fd\u80fd\u901a\u8fc7goroutines\u9ad8\u6548\u5730\u8fdb\u884c\u5e76\u53d1\u5904\u7406\u3002<\/p>\n<\/p>\n<p><p>\u5728\u6613\u7528\u6027\u65b9\u9762\uff0cGo\u7684\u534f\u7a0b\u7531\u4e8e\u662f\u8bed\u8a00\u5185\u7f6e\u7279\u6027\uff0c\u5e76\u4e14\u6709\u7b80\u6d01\u660e\u4e86\u7684\u4f7f\u7528\u65b9\u5f0f\uff0c\u56e0\u6b64\u5bf9\u4e8e\u5f00\u53d1\u8005\u800c\u8a00\u66f4\u52a0\u53cb\u597d\u3002PHP\u534f\u7a0b\u867d\u7136\u9700\u8981\u989d\u5916\u5b66\u4e60\u534f\u7a0b\u76f8\u5173\u7684\u6269\u5c55\u4f7f\u7528\uff0c\u4f46\u5bf9\u4e8e\u719f\u6089PHP\u7684\u5f00\u53d1\u8005\u6765\u8bf4\uff0c\u52a0\u5165\u534f\u7a0b\u4e5f\u80fd\u663e\u8457\u63d0\u5347\u5e94\u7528\u7684\u6027\u80fd\u548c\u54cd\u5e94\u901f\u5ea6\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>PHP\u534f\u7a0b\u4e0eGO\u534f\u7a0b\u7684\u5b9e\u73b0\u6709\u4f55\u4e0d\u540c\uff1f<\/strong><\/p>\n<ol>\n<li>\n<p><strong>PHP\u534f\u7a0b\u548cGO\u534f\u7a0b\u7684\u8bed\u8a00\u73af\u5883\u4e0d\u540c\u3002<\/strong> PHP\u662f\u4e00\u79cd\u4f7f\u7528\u5e7f\u6cdb\u7684\u811a\u672c\u8bed\u8a00\uff0c\u800cGO\u662f\u4e00\u79cd\u7f16\u8bd1\u578b\u8bed\u8a00\u3002\u8fd9\u610f\u5473\u7740\u5728\u5b9e\u73b0\u534f\u7a0b\u65f6\uff0cPHP\u9700\u8981\u5728\u8fd0\u884c\u65f6\u8fdb\u884c\u4e00\u4e9b\u989d\u5916\u7684\u5904\u7406\uff0c\u800cGO\u5219\u80fd\u591f\u66f4\u76f4\u63a5\u5730\u5229\u7528\u8bed\u8a00\u672c\u8eab\u7684\u7279\u6027\u5b9e\u73b0\u534f\u7a0b\u3002<\/p>\n<\/li>\n<li>\n<p><strong>PHP\u534f\u7a0b\u4f7f\u7528\u7684\u662f\u7528\u6237\u7ea7\u522b\u7684\u534f\u7a0b\u5e93\uff0c\u800cGO\u534f\u7a0b\u662f\u539f\u751f\u652f\u6301\u7684\u3002<\/strong> PHP\u534f\u7a0b\u662f\u901a\u8fc7\u4f7f\u7528\u5e93\u6765\u5b9e\u73b0\u7684\uff0c\u6700\u5e38\u7528\u7684\u662fSwoole\u534f\u7a0b\u3002\u8fd9\u610f\u5473\u7740\u5728PHP\u4e2d\u4f7f\u7528\u534f\u7a0b\u9700\u8981\u5f15\u5165\u989d\u5916\u7684\u5e93\uff0c\u5e76\u4e14\u5728\u8fd0\u884c\u65f6\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u8bbe\u7f6e\u3002\u800cGO\u7684\u534f\u7a0b\u5219\u662f\u539f\u751f\u652f\u6301\u7684\uff0c\u65e0\u9700\u4efb\u4f55\u989d\u5916\u7684\u8bbe\u7f6e\u548c\u5f15\u5165\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728\u4ee3\u7801\u4e2d\u4f7f\u7528\u3002<\/p>\n<\/li>\n<li>\n<p><strong>PHP\u534f\u7a0b\u4e0eGO\u534f\u7a0b\u7684\u8c03\u5ea6\u65b9\u5f0f\u4e0d\u540c\u3002<\/strong> PHP\u534f\u7a0b\u5e93\u901a\u5e38\u4f7f\u7528\u7684\u662f\u62a2\u5360\u5f0f\u8c03\u5ea6\uff0c\u5373\u5f53\u4e00\u4e2a\u534f\u7a0b\u9047\u5230IO\u7b49\u5f85\u65f6\u81ea\u52a8\u5207\u6362\u5230\u5176\u4ed6\u53ef\u8fd0\u884c\u7684\u534f\u7a0b\u3002GO\u534f\u7a0b\u5219\u4f7f\u7528\u7684\u662f\u534f\u4f5c\u5f0f\u8c03\u5ea6\uff0c\u5373\u534f\u7a0b\u5728\u6267\u884c\u5230\u67d0\u4e2a\u70b9\u65f6\u4e3b\u52a8\u8ba9\u51fa\u63a7\u5236\u6743\uff0c\u901a\u8fc7\u8c03\u5ea6\u5668\u51b3\u5b9a\u5207\u6362\u5230\u54ea\u4e2a\u534f\u7a0b\u6267\u884c\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u603b\u7684\u6765\u8bf4\uff0cPHP\u534f\u7a0b\u548cGO\u534f\u7a0b\u7684\u5b9e\u73b0\u65b9\u5f0f\u548c\u7279\u6027\u6709\u6240\u4e0d\u540c\u3002GO\u534f\u7a0b\u5728\u8bed\u8a00\u5c42\u9762\u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u652f\u6301\uff0c\u66f4\u6613\u4e8e\u4f7f\u7528\u548c\u7ba1\u7406\u3002\u800cPHP\u534f\u7a0b\u9700\u8981\u5f15\u5165\u989d\u5916\u7684\u5e93\uff0c\u5e76\u4e14\u9700\u8981\u6839\u636e\u5177\u4f53\u60c5\u51b5\u8fdb\u884c\u4e00\u4e9b\u8bbe\u7f6e\uff0c\u9002\u7528\u6027\u53ef\u80fd\u7a0d\u5dee\u4e00\u4e9b\u3002\u4f46\u4e24\u8005\u90fd\u63d0\u4f9b\u4e86\u4e00\u79cd\u66f4\u9ad8\u6548\u5229\u7528\u7cfb\u7edf\u8d44\u6e90\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5728\u5f00\u53d1\u5f02\u6b65\u4efb\u52a1\u3001\u5e76\u53d1\u8bf7\u6c42\u7b49\u573a\u666f\u4e2d\u53d1\u6325\u91cd\u8981\u4f5c\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"PHP\u7684\u534f\u7a0b\u4e0eGo\u7684\u534f\u7a0b\u5728\u5b9e\u73b0\u65b9\u5f0f\u3001\u8fd0\u884c\u539f\u7406\u3001\u4ee5\u53ca\u5e94\u7528\u573a\u666f\u4e0a\u6709\u7740\u663e\u8457\u7684\u5dee\u5f02\u3002PHP\u7684\u534f\u7a0b\u57fa\u4e8e\u7528\u6237\u6001\u7684\u8c03\u5ea6\u3001\u4e3b\u8981 [&hellip;]","protected":false},"author":3,"featured_media":183262,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/183240"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=183240"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/183240\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/183262"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=183240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=183240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=183240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}