{"id":1092,"date":"2025-01-19T14:09:21","date_gmt":"2025-01-19T06:09:21","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=1092"},"modified":"2025-01-19T14:09:21","modified_gmt":"2025-01-19T06:09:21","slug":"swoole%e5%8d%8f%e7%a8%8b%e6%98%af%e6%80%8e%e6%a0%b7%e8%b0%83%e5%ba%a6%e7%9a%84","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/01\/19\/swoole%e5%8d%8f%e7%a8%8b%e6%98%af%e6%80%8e%e6%a0%b7%e8%b0%83%e5%ba%a6%e7%9a%84\/","title":{"rendered":"swoole\u534f\u7a0b\u662f\u600e\u6837\u8c03\u5ea6\u7684"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Swoole \u534f\u7a0b\u8c03\u5ea6\u662f Swoole \u9ad8\u6548\u5904\u7406\u5e76\u53d1\u4efb\u52a1\u7684\u6838\u5fc3\u673a\u5236\u4e4b\u4e00\u3002\u5b83\u4f7f\u5f97 PHP \u80fd\u591f\u50cf\u5176\u4ed6\u73b0\u4ee3\u7f16\u7a0b\u8bed\u8a00\u4e00\u6837\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\u7684\u5f02\u6b65\u7f16\u7a0b\uff0c\u540c\u65f6\u4fdd\u7559\u4e86\u4f20\u7edf\u540c\u6b65\u4ee3\u7801\u7684\u6613\u8bfb\u6027\u548c\u5f00\u53d1\u4f53\u9a8c\u3002Swoole \u534f\u7a0b\u8c03\u5ea6\u5668\u901a\u8fc7\u534f\u4f5c\u5f0f\u591a\u4efb\u52a1\u8c03\u5ea6\u6765\u7ba1\u7406\u5927\u91cf\u5e76\u53d1\u4efb\u52a1\uff0c\u800c\u4e0d\u9700\u8981\u4f9d\u8d56\u4f20\u7edf\u7684\u7ebf\u7a0b\u6216\u8fdb\u7a0b\u8c03\u5ea6\u673a\u5236\u3002\u4ee5\u4e0b\u662f Swoole \u534f\u7a0b\u8c03\u5ea6\u7684\u5de5\u4f5c\u539f\u7406\u548c\u5173\u952e\u70b9\uff1a<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">1. <strong>\u534f\u7a0b\u7684\u6982\u5ff5\u4e0e\u5de5\u4f5c\u65b9\u5f0f<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u534f\u7a0b\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u6267\u884c\u5355\u5143\uff0c\u5b83\u4e0d\u9700\u8981\u72ec\u7acb\u7684\u7ebf\u7a0b\u6216\u8fdb\u7a0b\uff0c\u800c\u662f\u4e0e\u5176\u4ed6\u534f\u7a0b\u5171\u4eab\u540c\u4e00\u4e2a\u7ebf\u7a0b\u7684\u6267\u884c\u8d44\u6e90\u3002Swoole \u7684\u534f\u7a0b\u901a\u8fc7\u534f\u7a0b\u8c03\u5ea6\u5668\u6765\u7ba1\u7406\u8fd9\u4e9b\u8f7b\u91cf\u7ea7\u7684\u6267\u884c\u5355\u5143\uff0c\u786e\u4fdd\u5b83\u4eec\u80fd\u9ad8\u6548\u5730\u5728 CPU \u4e0a\u5e76\u53d1\u6267\u884c\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. <strong>\u534f\u7a0b\u8c03\u5ea6\u5668\u7684\u57fa\u672c\u529f\u80fd<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Swoole \u534f\u7a0b\u8c03\u5ea6\u5668\u7684\u4f5c\u7528\u662f\u7ba1\u7406\u591a\u4e2a\u534f\u7a0b\u7684\u6267\u884c\u987a\u5e8f\u3001\u5207\u6362\u548c\u8c03\u5ea6\u3002\u5176\u6838\u5fc3\u529f\u80fd\u5305\u62ec\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u534f\u7a0b\u7684\u521b\u5efa\u4e0e\u9500\u6bc1<\/strong>\uff1a\u534f\u7a0b\u8c03\u5ea6\u5668\u8d1f\u8d23\u521b\u5efa\u65b0\u7684\u534f\u7a0b\u5e76\u52a0\u5165\u5230\u4efb\u52a1\u961f\u5217\uff0c\u540c\u65f6\u5728\u534f\u7a0b\u6267\u884c\u5b8c\u6bd5\u540e\uff0c\u9500\u6bc1\u534f\u7a0b\u3002<\/li>\n\n\n\n<li><strong>\u534f\u7a0b\u7684\u8c03\u5ea6\u4e0e\u5207\u6362<\/strong>\uff1a\u8c03\u5ea6\u5668\u6839\u636e\u534f\u7a0b\u7684\u72b6\u6001\uff08\u5982\u7b49\u5f85 I\/O\u3001\u8ba1\u7b97\u4efb\u52a1\u3001\u6302\u8d77\u7b49\uff09\u6765\u51b3\u5b9a\u54ea\u4e9b\u534f\u7a0b\u9700\u8981\u6267\u884c\uff0c\u54ea\u4e9b\u534f\u7a0b\u9700\u8981\u6302\u8d77\u3002\u5b83\u4f1a\u5728\u5408\u9002\u7684\u65f6\u673a\u5207\u6362\u534f\u7a0b\uff0c\u907f\u514d\u4e86 CPU \u8d44\u6e90\u7684\u6d6a\u8d39\u3002<\/li>\n\n\n\n<li><strong>\u975e\u963b\u585e I\/O \u7684\u652f\u6301<\/strong>\uff1a\u5f53\u534f\u7a0b\u6267\u884c\u963b\u585e\u64cd\u4f5c\uff08\u5982\u6570\u636e\u5e93\u67e5\u8be2\u3001\u7f51\u7edc\u8bf7\u6c42\u7b49\uff09\u65f6\uff0c\u8c03\u5ea6\u5668\u4f1a\u5c06\u5f53\u524d\u534f\u7a0b\u6302\u8d77\uff0c\u76f4\u5230 I\/O \u64cd\u4f5c\u5b8c\u6210\u540e\u518d\u6062\u590d\u6267\u884c\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. <strong>\u534f\u7a0b\u8c03\u5ea6\u7684\u5173\u952e\u673a\u5236<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Swoole \u534f\u7a0b\u8c03\u5ea6\u91c7\u7528\u4e86\u534f\u4f5c\u5f0f\u8c03\u5ea6\uff08Cooperative Scheduling\uff09\u548c\u4e8b\u4ef6\u5faa\u73af\uff08Event Loop\uff09\u7684\u673a\u5236\uff0c\u4f7f\u5f97\u5728\u5355\u7ebf\u7a0b\u73af\u5883\u4e0b\u80fd\u591f\u9ad8\u6548\u5730\u8c03\u5ea6\u5927\u91cf\u4efb\u52a1\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u534f\u4f5c\u5f0f\u8c03\u5ea6<\/strong>\uff1a\u534f\u4f5c\u5f0f\u8c03\u5ea6\u7684\u6838\u5fc3\u601d\u60f3\u662f\u6bcf\u4e2a\u534f\u7a0b\u5728\u6267\u884c\u65f6\uff0c\u5fc5\u987b\u4e3b\u52a8\u201c\u8ba9\u51fa\u201d\u63a7\u5236\u6743\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u534f\u7a0b\u5728\u6267\u884c\u8fc7\u7a0b\u4e2d\u5fc5\u987b\u663e\u5f0f\u5730\u8ba9\u51fa CPU \u6267\u884c\u65f6\u95f4\uff0c\u800c\u4e0d\u662f\u7531\u8c03\u5ea6\u5668\u5f3a\u5236\u8fdb\u884c\u4e0a\u4e0b\u6587\u5207\u6362\u3002\u8fd9\u79cd\u65b9\u5f0f\u907f\u514d\u4e86\u7ebf\u7a0b\u8c03\u5ea6\u4e2d\u7684\u62a2\u5360\u5f0f\u8c03\u5ea6\u5e26\u6765\u7684\u9ad8\u5f00\u9500\uff0c\u56e0\u6b64\u534f\u7a0b\u7684\u5207\u6362\u66f4\u52a0\u9ad8\u6548\u3002<\/li>\n\n\n\n<li><strong>\u4e8b\u4ef6\u5faa\u73af<\/strong>\uff1aSwoole \u7684\u8c03\u5ea6\u5668\u57fa\u4e8e\u4e8b\u4ef6\u5faa\u73af\u6a21\u578b\uff0c\u7c7b\u4f3c\u4e8e Node.js \u7684\u4e8b\u4ef6\u5faa\u73af\u3002\u4e8b\u4ef6\u5faa\u73af\u4e0d\u65ad\u5730\u68c0\u67e5\u4efb\u52a1\u961f\u5217\uff0c\u5bfb\u627e\u53ef\u6267\u884c\u7684\u534f\u7a0b\uff0c\u5e76\u5c06\u5176\u6267\u884c\u3002\u4e8b\u4ef6\u5faa\u73af\u7684\u6838\u5fc3\u76ee\u6807\u662f\u6700\u5927\u5316 CPU \u7684\u5229\u7528\u7387\uff0c\u907f\u514d\u7b49\u5f85\u64cd\u4f5c\u7684\u963b\u585e\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. <strong>\u534f\u7a0b\u7684\u8c03\u5ea6\u6d41\u7a0b<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Swoole \u534f\u7a0b\u8c03\u5ea6\u7684\u57fa\u672c\u6d41\u7a0b\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u534f\u7a0b\u521b\u5efa<\/strong>\uff1a\u5f00\u53d1\u8005\u901a\u8fc7 <code>Swoole\\Coroutine::create()<\/code> \u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u534f\u7a0b\uff0c\u8c03\u5ea6\u5668\u4f1a\u628a\u8fd9\u4e2a\u534f\u7a0b\u6dfb\u52a0\u5230\u8c03\u5ea6\u961f\u5217\u4e2d\u3002<\/li>\n\n\n\n<li><strong>\u534f\u7a0b\u6267\u884c<\/strong>\uff1a\u534f\u7a0b\u8c03\u5ea6\u5668\u4ece\u961f\u5217\u4e2d\u53d6\u51fa\u4e00\u4e2a\u534f\u7a0b\u5e76\u6267\u884c\u3002\u534f\u7a0b\u4e2d\u7684\u4ee3\u7801\u53ef\u4ee5\u901a\u8fc7 <code>yield<\/code> \u6216\u5f02\u6b65 I\/O \u64cd\u4f5c\uff08\u5982\u6570\u636e\u5e93\u67e5\u8be2\u3001\u6587\u4ef6\u8bfb\u5199\u7b49\uff09\u6302\u8d77\uff0c\u5207\u6362\u5230\u5176\u4ed6\u534f\u7a0b\u6267\u884c\u3002<\/li>\n\n\n\n<li><strong>\u534f\u7a0b\u6302\u8d77\u4e0e\u6062\u590d<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>\u5f53\u534f\u7a0b\u6267\u884c\u5230\u4e00\u4e2a I\/O \u64cd\u4f5c\u6216 <code>yield<\/code> \u8bed\u53e5\u65f6\uff0c\u5b83\u4f1a\u6302\u8d77\uff0c\u8c03\u5ea6\u5668\u4f1a\u5c06 CPU \u8d44\u6e90\u8ba9\u7ed9\u5176\u4ed6\u534f\u7a0b\u6267\u884c\u3002<\/li>\n\n\n\n<li>\u5176\u4ed6\u534f\u7a0b\u53ef\u4ee5\u7ee7\u7eed\u8fd0\u884c\uff0c\u76f4\u5230\u53d1\u751f\u4e8b\u4ef6\u6216 I\/O \u64cd\u4f5c\u5b8c\u6210\uff0c\u8c03\u5ea6\u5668\u4f1a\u6062\u590d\u6302\u8d77\u7684\u534f\u7a0b\u7ee7\u7eed\u6267\u884c\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u534f\u7a0b\u9500\u6bc1<\/strong>\uff1a\u5f53\u534f\u7a0b\u5b8c\u6210\u5176\u4efb\u52a1\u540e\uff0c\u8c03\u5ea6\u5668\u4f1a\u9500\u6bc1\u8be5\u534f\u7a0b\u5e76\u4ece\u961f\u5217\u4e2d\u79fb\u9664\u5b83\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">5. <strong>I\/O \u64cd\u4f5c\u4e0e\u534f\u7a0b\u8c03\u5ea6<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u534f\u7a0b\u8c03\u5ea6\u5668\u7684\u4e00\u4e2a\u91cd\u8981\u7279\u70b9\u662f\u652f\u6301\u975e\u963b\u585e\u7684\u5f02\u6b65 I\/O \u64cd\u4f5c\u3002\u4f20\u7edf\u7684\u540c\u6b65\u7f16\u7a0b\u4e2d\uff0cI\/O \u64cd\u4f5c\u901a\u5e38\u662f\u963b\u585e\u7684\uff0c\u4f1a\u5bfc\u81f4\u7a0b\u5e8f\u6682\u505c\uff0c\u76f4\u5230\u64cd\u4f5c\u5b8c\u6210\u3002\u800c Swoole \u534f\u7a0b\u91c7\u7528\u5f02\u6b65 I\/O \u6a21\u578b\uff0c\u4f7f\u5f97\u534f\u7a0b\u5728\u7b49\u5f85 I\/O \u64cd\u4f5c\uff08\u5982\u7f51\u7edc\u8bf7\u6c42\u3001\u6570\u636e\u5e93\u67e5\u8be2\uff09\u65f6\u53ef\u4ee5\u6302\u8d77\uff0c\u91ca\u653e CPU \u65f6\u95f4\u53bb\u6267\u884c\u5176\u4ed6\u4efb\u52a1\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u534f\u7a0b\u6302\u8d77\u65f6\uff0c\u8c03\u5ea6\u5668\u4f1a\u5c06 CPU \u8d44\u6e90\u5206\u914d\u7ed9\u5176\u4ed6\u534f\u7a0b\u6267\u884c\uff0c\u907f\u514d\u4e86\u4f20\u7edf\u963b\u585e\u6a21\u578b\u4e2d I\/O \u64cd\u4f5c\u9020\u6210\u7684\u201c\u7a7a\u8f6c\u201d\u6d6a\u8d39\u3002\u56e0\u6b64\uff0c\u5373\u4f7f\u5728\u8fdb\u884c\u5927\u91cf I\/O \u64cd\u4f5c\u65f6\uff0c\u7a0b\u5e8f\u7684\u6267\u884c\u4ecd\u7136\u53ef\u4ee5\u9ad8\u6548\u8fdb\u884c\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6. <strong>\u534f\u7a0b\u7684\u5207\u6362<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u534f\u7a0b\u7684\u5207\u6362\u901a\u5e38\u662f\u7531\u4ee5\u4e0b\u51e0\u79cd\u60c5\u51b5\u89e6\u53d1\u7684\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u534f\u7a0b\u4e3b\u52a8\u6302\u8d77<\/strong>\uff1a\u901a\u8fc7\u6267\u884c <code>yield<\/code> \u6216\u7b49\u5f85 I\/O \u64cd\u4f5c\u65f6\uff0c\u534f\u7a0b\u4e3b\u52a8\u5c06\u6267\u884c\u6743\u4ea4\u7ed9\u8c03\u5ea6\u5668\uff0c\u8c03\u5ea6\u5668\u53ef\u4ee5\u9009\u62e9\u5176\u4ed6\u534f\u7a0b\u6765\u6267\u884c\u3002<\/li>\n\n\n\n<li><strong>I\/O \u5b8c\u6210<\/strong>\uff1a\u5f53\u534f\u7a0b\u53d1\u8d77\u7684\u5f02\u6b65 I\/O \u64cd\u4f5c\u5b8c\u6210\u65f6\uff0c\u8c03\u5ea6\u5668\u4f1a\u6062\u590d\u8be5\u534f\u7a0b\u5e76\u7ee7\u7eed\u6267\u884c\u3002<\/li>\n\n\n\n<li><strong>\u534f\u7a0b\u6267\u884c\u5b8c\u6210<\/strong>\uff1a\u5f53\u534f\u7a0b\u7684\u4efb\u52a1\u6267\u884c\u5b8c\u6bd5\u65f6\uff0c\u8c03\u5ea6\u5668\u4f1a\u9500\u6bc1\u8be5\u534f\u7a0b\u5e76\u4ece\u961f\u5217\u4e2d\u79fb\u9664\u5b83\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">7. <strong>Swoole \u534f\u7a0b\u8c03\u5ea6\u7684\u4f18\u52bf<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u9ad8\u6548\u7684\u8d44\u6e90\u5229\u7528<\/strong>\uff1a\u7531\u4e8e\u534f\u7a0b\u662f\u8f7b\u91cf\u7ea7\u7684\uff0c\u4e14\u5207\u6362\u5f00\u9500\u5c0f\uff0c\u8c03\u5ea6\u5668\u80fd\u591f\u5728\u8f83\u5c0f\u7684\u5185\u5b58\u548c\u8ba1\u7b97\u8d44\u6e90\u4e0b\u7ba1\u7406\u5927\u91cf\u7684\u5e76\u53d1\u4efb\u52a1\u3002<\/li>\n\n\n\n<li><strong>\u975e\u963b\u585e I\/O<\/strong>\uff1a\u901a\u8fc7\u5f02\u6b65 I\/O \u548c\u975e\u963b\u585e\u7684\u64cd\u4f5c\uff0c\u534f\u7a0b\u80fd\u591f\u663e\u8457\u51cf\u5c11 I\/O \u963b\u585e\u5e26\u6765\u7684\u5ef6\u8fdf\u3002<\/li>\n\n\n\n<li><strong>\u7b80\u6d01\u7684\u7f16\u7a0b\u6a21\u578b<\/strong>\uff1a\u4e0e\u4f20\u7edf\u7684\u56de\u8c03\u5730\u72f1\u548c\u4e8b\u4ef6\u9a71\u52a8\u7f16\u7a0b\u4e0d\u540c\uff0cSwoole \u534f\u7a0b\u7684\u7f16\u7a0b\u6a21\u578b\u66f4\u63a5\u8fd1\u540c\u6b65\u7f16\u7a0b\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5199\u51fa\u66f4\u7b80\u6d01\u3001\u53ef\u8bfb\u7684\u4ee3\u7801\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">8. <strong>\u534f\u7a0b\u8c03\u5ea6\u7684\u9650\u5236\u4e0e\u6ce8\u610f\u4e8b\u9879<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u534f\u7a0b\u4e0e\u591a\u7ebf\u7a0b\/\u591a\u8fdb\u7a0b\u7684\u533a\u522b<\/strong>\uff1aSwoole \u534f\u7a0b\u662f\u57fa\u4e8e\u5355\u7ebf\u7a0b\u7684\uff0c\u5728\u540c\u4e00\u8fdb\u7a0b\u5185\u591a\u4e2a\u534f\u7a0b\u5171\u4eab CPU \u8d44\u6e90\uff0c\u56e0\u6b64\u5b83\u9002\u5408 CPU \u5bc6\u96c6\u578b\u4efb\u52a1\u8f83\u5c11\u7684\u573a\u666f\u3002\u5982\u679c\u662f CPU \u5bc6\u96c6\u578b\u4efb\u52a1\uff0c\u53ef\u80fd\u9700\u8981\u7ed3\u5408\u8fdb\u7a0b\u6216\u7ebf\u7a0b\u6c60\u6765\u8fdb\u884c\u4f18\u5316\u3002<\/li>\n\n\n\n<li><strong>\u534f\u7a0b\u7684\u6808\u5927\u5c0f<\/strong>\uff1a\u6bcf\u4e2a\u534f\u7a0b\u5728\u5185\u5b58\u4e2d\u7684\u6808\u662f\u56fa\u5b9a\u5927\u5c0f\u7684\uff0c\u901a\u5e38\u4e3a 8KB\u3002\u867d\u7136\u8fd9\u662f\u975e\u5e38\u5c0f\u7684\u5f00\u9500\uff0c\u4f46\u5982\u679c\u534f\u7a0b\u6267\u884c\u6df1\u5ea6\u8f83\u5927\u7684\u9012\u5f52\u64cd\u4f5c\u6216\u4f7f\u7528\u5927\u91cf\u5185\u5b58\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6808\u6ea2\u51fa\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u603b\u7ed3\uff1a<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Swoole \u534f\u7a0b\u8c03\u5ea6\u5668\u901a\u8fc7\u534f\u4f5c\u5f0f\u8c03\u5ea6\u3001\u4e8b\u4ef6\u5faa\u73af\u548c\u975e\u963b\u585e I\/O \u6765\u9ad8\u6548\u5730\u7ba1\u7406\u5927\u91cf\u5e76\u53d1\u4efb\u52a1\u3002\u5b83\u80fd\u591f\u907f\u514d\u4f20\u7edf\u591a\u7ebf\u7a0b\u6a21\u578b\u4e2d\u7684\u9ad8\u5f00\u9500\u548c\u590d\u6742\u6027\uff0c\u63d0\u4f9b\u8f7b\u91cf\u7ea7\u7684\u5e76\u53d1\u5904\u7406\u80fd\u529b\u3002\u901a\u8fc7\u8c03\u5ea6\u5668\uff0cSwoole \u534f\u7a0b\u80fd\u591f\u6709\u6548\u5229\u7528\u7cfb\u7edf\u8d44\u6e90\uff0c\u5904\u7406\u9ad8\u5e76\u53d1\u4efb\u52a1\uff0c\u5c24\u5176\u9002\u5408\u9700\u8981\u5927\u91cf I\/O \u64cd\u4f5c\u7684\u9ad8\u5e76\u53d1\u5e94\u7528\u573a\u666f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Swoole \u534f\u7a0b\u8c03\u5ea6\u662f Swoole \u9ad8\u6548\u5904\u7406\u5e76\u53d1\u4efb\u52a1\u7684\u6838\u5fc3\u673a\u5236\u4e4b\u4e00\u3002\u5b83\u4f7f\u5f97 PHP \u80fd\u591f\u50cf\u5176\u4ed6\u73b0\u4ee3\u7f16\u7a0b\u8bed\u8a00 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[],"class_list":["post-1092","post","type-post","status-publish","format-standard","hentry","category-swoole"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=1092"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1092\/revisions"}],"predecessor-version":[{"id":1093,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1092\/revisions\/1093"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=1092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=1092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=1092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}