{"id":182291,"date":"2024-05-08T21:17:33","date_gmt":"2024-05-08T13:17:33","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/182291.html"},"modified":"2024-05-08T21:17:40","modified_gmt":"2024-05-08T13:17:40","slug":"php%e5%87%bd%e6%95%b0%e7%9a%84%e5%8f%82%e6%95%b0%ef%bc%8c%e5%a6%82%e4%bd%95%e6%8e%8c%e6%8f%a1%e6%ba%90%e5%ad%97%e7%ac%a6%e6%89%80%e5%9c%a8%e4%bd%8d%e7%bd%ae%e7%9a%84%e8%a7%84%e5%be%8b","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/182291.html","title":{"rendered":"php\u51fd\u6570\u7684\u53c2\u6570\uff0c\u5982\u4f55\u638c\u63e1\u6e90\u5b57\u7b26\u6240\u5728\u4f4d\u7f6e\u7684\u89c4\u5f8b"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27072239\/4774bf72-09cc-475a-b392-d370e267f933.webp\" alt=\"php\u51fd\u6570\u7684\u53c2\u6570\uff0c\u5982\u4f55\u638c\u63e1\u6e90\u5b57\u7b26\u6240\u5728\u4f4d\u7f6e\u7684\u89c4\u5f8b\" \/><\/p>\n<p><p>\u5728PHP\u4e2d\uff0c\u638c\u63e1\u51fd\u6570\u53c2\u6570\u4e2d\u6e90\u5b57\u7b26\u6240\u5728\u4f4d\u7f6e\u7684\u89c4\u5f8b\uff0c\u4e3b\u8981\u6d89\u53ca\u4e24\u65b9\u9762\uff1a<strong>\u53c2\u6570\u4f20\u9012\u673a\u5236<\/strong>\u548c<strong>\u5b57\u7b26\u4e32\u64cd\u4f5c\u51fd\u6570<\/strong>\u3002\u53c2\u6570\u4f20\u9012\u673a\u5236\u5206\u4e3a<strong>\u503c\u4f20\u9012<\/strong>\u548c<strong>\u5f15\u7528\u4f20\u9012<\/strong>\uff0c\u800c\u5b57\u7b26\u4e32\u64cd\u4f5c\u51fd\u6570\u5219\u501f\u52a9\u7279\u5b9a\u7684\u51fd\u6570\u6765\u5b9e\u73b0\u6e90\u5b57\u7b26\u4f4d\u7f6e\u7684\u8bc6\u522b\u3002\u901a\u8fc7\u4e86\u89e3\u8fd9\u4e24\u65b9\u9762\u7684\u6838\u5fc3\u77e5\u8bc6\uff0c\u80fd\u591f\u6709\u6548\u5730\u64cd\u4f5c\u548c\u7406\u89e3\u53c2\u6570\u5728\u51fd\u6570\u4e2d\u7684\u884c\u4e3a\u548c\u8fd0\u7528\u3002<\/p>\n<\/p>\n<p><p>\u5728\u8fd9\u5176\u4e2d\uff0c\u5b57\u7b26\u4e32\u64cd\u4f5c\u51fd\u6570\u5c24\u4e3a\u91cd\u8981\u3002PHP\u5185\u7f6e\u4e86\u4f17\u591a\u5b57\u7b26\u4e32\u64cd\u4f5c\u51fd\u6570\uff0c\u5982<code>strpos()<\/code>\u3001<code>strstr()<\/code>\u3001<code>substr()<\/code>\u7b49\uff0c\u5b83\u4eec\u662f\u5904\u7406\u5b57\u7b26\u4e32\u548c\u5b9a\u4f4d\u6e90\u5b57\u7b26\u4f4d\u7f6e\u7684\u5173\u952e\u5de5\u5177\u3002\u638c\u63e1\u8fd9\u4e9b\u51fd\u6570\u7684\u7528\u6cd5\u4e0d\u4ec5\u6709\u52a9\u4e8e\u7cbe\u786e\u64cd\u4f5c\u5b57\u7b26\u4e32\u4e2d\u7684\u5b57\u7b26\uff0c\u8fd8\u80fd\u9ad8\u6548\u5b9e\u73b0\u5b57\u7b26\u4e32\u6570\u636e\u7684\u5904\u7406\u548c\u5206\u6790\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u53c2\u6570\u4f20\u9012\u673a\u5236<\/h3>\n<\/p>\n<p><p>\u5728PHP\u4e2d\uff0c\u7406\u89e3\u53c2\u6570\u5982\u4f55\u4f20\u9012\u81f3\u51fd\u6570\u5185\u90e8\u662f\u5173\u952e\u3002\u5f53\u51fd\u6570\u88ab\u8c03\u7528\u65f6\uff0c\u53c2\u6570\u53ef\u4ee5\u4ee5<strong>\u503c\u4f20\u9012<\/strong>\u7684\u5f62\u5f0f\u6216\u8005<strong>\u5f15\u7528\u4f20\u9012<\/strong>\u7684\u5f62\u5f0f\u88ab\u4f20\u5165\u51fd\u6570\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u503c\u4f20\u9012<\/strong>\u610f\u5473\u7740\u5f53\u4e00\u4e2a\u53d8\u91cf\u4f20\u9012\u7ed9\u51fd\u6570\u65f6\uff0c\u5b9e\u9645\u4e0a\u4f20\u9012\u7684\u662f\u53d8\u91cf\u7684\u4e00\u4e2a\u526f\u672c\u3002\u51fd\u6570\u5185\u5bf9\u53c2\u6570\u7684\u4efb\u4f55\u64cd\u4f5c\uff0c\u90fd\u4e0d\u4f1a\u5f71\u54cd\u5230\u5916\u90e8\u5b9e\u9645\u7684\u53d8\u91cf\u3002<\/li>\n<li><strong>\u5f15\u7528\u4f20\u9012<\/strong>\u5219\u662f\u5c06\u5b9e\u9645\u53d8\u91cf\u7684\u5185\u5b58\u5730\u5740\u4f20\u9012\u7ed9\u51fd\u6570\uff0c\u8fd9\u610f\u5473\u7740\u51fd\u6570\u5185\u5bf9\u53c2\u6570\u7684\u4efb\u4f55\u66f4\u6539\u90fd\u4f1a\u5f71\u54cd\u5230\u539f\u59cb\u53d8\u91cf\u3002<\/li>\n<\/ul>\n<p><p>\u5bf9\u4e8e\u521d\u5b66\u8005\u6765\u8bf4\uff0c\u533a\u5206\u8fd9\u4e24\u79cd\u4f20\u9012\u673a\u5236\u5bf9\u4e8e\u7406\u89e3\u53c2\u6570\u5728\u51fd\u6570\u4e2d\u7684\u884c\u4e3a\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u5b57\u7b26\u4e32\u64cd\u4f5c\u51fd\u6570<\/h3>\n<\/p>\n<p><p>PHP\u63d0\u4f9b\u4e86\u5927\u91cf\u7684\u5b57\u7b26\u4e32\u64cd\u4f5c\u51fd\u6570\uff0c\u8fd9\u4e9b\u51fd\u6570\u4f7f\u5f97\u5728\u64cd\u4f5c\u5b57\u7b26\u4e32\u65f6\u80fd\u591f\u638c\u63e1\u6e90\u5b57\u7b26\u7684\u4f4d\u7f6e\u548c\u8fdb\u884c\u76f8\u5e94\u7684\u5904\u7406\u53d8\u5f97\u7b80\u5355\u9ad8\u6548\u3002<\/p>\n<\/p>\n<p><h4>1.\u5b57\u7b26\u67e5\u627e\u51fd\u6570<\/h4>\n<\/p>\n<ul>\n<li>\n<p><strong>strpos()<\/strong> \u51fd\u6570\u67e5\u627e\u5b57\u7b26\u4e32\u5185\u9996\u6b21\u51fa\u73b0\u7684\u6307\u5b9a\u5b57\u7b26\u6216\u5b50\u5b57\u7b26\u4e32\u7684\u4f4d\u7f6e\u3002\u8fd9\u662f\u5b9a\u4f4d\u6e90\u5b57\u7b26\u5728\u5b57\u7b26\u4e32\u4e2d\u4f4d\u7f6e\u7684\u6700\u57fa\u672c\u624b\u6bb5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-php\">$position = strpos(&quot;Hello world!&quot;, &quot;world&quot;); \/\/ \u8fd4\u56de 6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>stripos()<\/strong> \u51fd\u6570\u4e0e<code>strpos()<\/code>\u529f\u80fd\u76f8\u4f3c\uff0c\u4f46\u5b83\u662f\u4e0d\u533a\u5206\u5927\u5c0f\u5199\u7684\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h4>2.\u5b50\u5b57\u7b26\u4e32\u83b7\u53d6\u51fd\u6570<\/h4>\n<\/p>\n<ul>\n<li>\n<p><strong>substr()<\/strong> \u51fd\u6570\u7528\u4e8e\u83b7\u53d6\u5b57\u7b26\u4e32\u4e2d\u6307\u5b9a\u4f4d\u7f6e\u7684\u5b50\u5b57\u7b26\u4e32\u3002\u638c\u63e1\u8fd9\u4e00\u51fd\u6570\u80fd\u591f\u5728\u786e\u5b9a\u4e86\u6e90\u5b57\u7b26\u4f4d\u7f6e\u540e\uff0c\u8fdb\u4e00\u6b65\u63d0\u53d6\u6216\u64cd\u4f5c\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-php\">$part = substr(&quot;Hello world!&quot;, 6, 5); \/\/ \u8fd4\u56de &quot;world&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<p><h4>3.\u5b57\u7b26\u66ff\u6362\u51fd\u6570<\/h4>\n<\/p>\n<ul>\n<li>\n<p><strong>str_replace()<\/strong> \u51fd\u6570\u7528\u4e8e\u5c06\u5b57\u7b26\u4e32\u4e2d\u7684\u67d0\u90e8\u5206\u66ff\u6362\u4e3a\u53e6\u4e00\u90e8\u5206\u3002\u4e86\u89e3\u66ff\u6362\u89c4\u5f8b\uff0c\u5bf9\u4e8e\u64cd\u4f5c\u542b\u6709\u7279\u5b9a\u5b57\u7b26\u7684\u5b57\u7b26\u4e32\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-php\">$replacedString = str_replace(&quot;world&quot;, &quot;PHP&quot;, &quot;Hello world!&quot;); \/\/ \u8fd4\u56de &quot;Hello PHP!&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u4e09\u3001\u5b9e\u4f8b\u5e94\u7528<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u5b9e\u9645\u7684\u7f16\u7a0b\u5b9e\u4f8b\uff0c\u6211\u4eec\u53ef\u4ee5\u6df1\u5165\u7406\u89e3\u53c2\u6570\u5728PHP\u51fd\u6570\u4e2d\u7684\u89c4\u5f8b\u548c\u5e94\u7528\u3002<\/p>\n<\/p>\n<ul>\n<li>\u8bbe\u8ba1\u4e00\u4e2a\u51fd\u6570\uff0c\u5229\u7528<code>strpos()<\/code>\u548c<code>substr()<\/code>\u8054\u5408\u4f7f\u7528\uff0c\u627e\u51fa\u5e76\u8fd4\u56de\u4e00\u4e2a\u5b57\u7b26\u4e32\u4e2d\u7b2c\u4e00\u6b21\u51fa\u73b0\u7684\u6307\u5b9a\u5b50\u5b57\u7b26\u4e32\u4e4b\u540e\u7684\u6240\u6709\u5b57\u7b26\u3002<\/li>\n<\/ul>\n<p><h4>4.\u53c2\u6570\u7ed1\u5b9a\u548c\u4f20\u9012\u7ec6\u8282<\/h4>\n<\/p>\n<p><p>\u4e86\u89e3\u53c2\u6570\u5728\u5185\u90e8\u5982\u4f55\u4f20\u9012\u4ee5\u53ca\u5982\u4f55\u88ab\u51fd\u6570\u5904\u7406\uff0c\u5bf9\u4e8e\u8bbe\u8ba1\u66f4\u590d\u6742\u7684\u529f\u80fd\u548c\u6027\u80fd\u4f18\u5316\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u7406\u89e3\u53c2\u6570\u7684\u4f5c\u7528\u57df<\/strong>\uff1a\u51fd\u6570\u53c2\u6570\u5728\u51fd\u6570\u5185\u90e8\u7684\u4f5c\u7528\u57df\u662f\u5c40\u90e8\u7684\uff0c\u8fd9\u610f\u5473\u7740\u540c\u540d\u7684\u5916\u90e8\u53d8\u91cf\u548c\u53c2\u6570\u4e0d\u4f1a\u76f8\u4e92\u5f71\u54cd\u3002<\/li>\n<li><strong>\u4f7f\u7528\u53ef\u53d8\u53c2\u6570<\/strong>\uff1aPHP\u5141\u8bb8\u51fd\u6570\u4f7f\u7528\u53ef\u53d8\u53c2\u6570\uff0c\u4f7f\u5f97\u51fd\u6570\u53ef\u4ee5\u63a5\u53d7\u4efb\u610f\u6570\u91cf\u7684\u53c2\u6570\uff0c\u8fd9\u5bf9\u4e8e\u7f16\u5199\u7075\u6d3b\u7684\u51fd\u6570\u5e93\u975e\u5e38\u6709\u5e2e\u52a9\u3002<\/li>\n<\/ul>\n<p><h3>\u56db\u3001\u9ad8\u7ea7\u5e94\u7528\u4e0e\u6700\u4f73\u5b9e\u8df5<\/h3>\n<\/p>\n<p><p>\u638c\u63e1\u53c2\u6570\u548c\u5b57\u7b26\u4e32\u64cd\u4f5c\u51fd\u6570\u7684\u57fa\u672c\u77e5\u8bc6\u540e\uff0c\u7ed3\u5408\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u548c\u6a21\u5f0f\u5339\u914d\u6280\u672f\uff0c\u53ef\u4ee5\u5b9e\u73b0\u66f4\u4e3a\u9ad8\u7ea7\u7684\u529f\u80fd\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u9762\u5411\u5bf9\u8c61\u7684\u65b9\u6cd5<\/strong>\uff1a\u5c06\u5b57\u7b26\u4e32\u5c01\u88c5\u6210\u5bf9\u8c61\uff0c\u5b9a\u4e49\u65b9\u6cd5\u6765\u64cd\u4f5c\u8fd9\u4e9b\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u4ee3\u7801\u66f4\u52a0\u6a21\u5757\u5316\u548c\u590d\u7528\u6027\u66f4\u5f3a\u3002<\/li>\n<li><strong>\u6b63\u5219\u8868\u8fbe\u5f0f\u5904\u7406<\/strong>\uff1a\u5bf9\u4e8e\u590d\u6742\u7684\u5b57\u7b26\u4e32\u67e5\u627e\u548c\u66ff\u6362\uff0c\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u9ad8\u6548\u7684\u65b9\u5f0f\u3002PHP\u4e2d\u7684<code>preg_match()<\/code>\u3001<code>preg_replace()<\/code>\u7b49\u51fd\u6570\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u652f\u6301\u3002<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7\u5408\u7406\u5730\u4f7f\u7528\u5b57\u7b26\u4e32\u64cd\u4f5c\u51fd\u6570\u6765\u5904\u7406\u51fd\u6570\u53c2\u6570\uff0c\u53ef\u4ee5\u5728PHP\u7f16\u7a0b\u4e2d\u5927\u5927\u63d0\u9ad8\u4ee3\u7801\u7684\u6548\u7387\u548c\u53ef\u7ef4\u62a4\u6027\u3002\u4e86\u89e3\u5e76\u638c\u63e1\u8fd9\u4e9b\u6838\u5fc3\u6280\u672f\uff0c\u5bf9\u4e8e\u4efb\u4f55\u5e0c\u671b\u7cbe\u8fdbPHP\u5f00\u53d1\u6280\u80fd\u7684\u5f00\u53d1\u8005\u6765\u8bf4\uff0c\u90fd\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5982\u4f55\u5728PHP\u51fd\u6570\u4e2d\u51c6\u786e\u83b7\u53d6\u6e90\u5b57\u7b26\u6240\u5728\u4f4d\u7f6e\uff1f<\/strong><\/p>\n<p>\u8981\u638c\u63e1\u6e90\u5b57\u7b26\u6240\u5728\u4f4d\u7f6e\u7684\u89c4\u5f8b\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528PHP\u5185\u7f6e\u7684\u51fd\u6570\u6765\u83b7\u53d6\u5b57\u7b26\u4e32\u4e2d\u67d0\u4e2a\u5b57\u7b26\u6216\u5b50\u4e32\u7684\u4f4d\u7f6e\u3002\u4f8b\u5982\uff0c\u4f7f\u7528strpos\u51fd\u6570\u53ef\u4ee5\u83b7\u5f97\u4e00\u4e2a\u5b57\u7b26\u4e32\u4e2d\u7b2c\u4e00\u6b21\u51fa\u73b0\u67d0\u4e2a\u5b57\u7b26\u6216\u5b50\u4e32\u7684\u4f4d\u7f6e\u3002\u800cstrrpos\u51fd\u6570\u5219\u53ef\u4ee5\u83b7\u53d6\u6700\u540e\u4e00\u6b21\u51fa\u73b0\u7684\u4f4d\u7f6e\u3002<\/p>\n<p>\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre><code>$str = &quot;Hello, World!&quot;;\n$position = strpos($str, &quot;o&quot;); \/\/ \u83b7\u53d6\u5b57\u6bcd&#039;o&#039;\u7684\u4f4d\u7f6e\necho &quot;\u5b57\u6bcd&#039;o&#039;\u5728\u5b57\u7b26\u4e32\u4e2d\u7684\u4f4d\u7f6e\u662f\uff1a&quot; . $position;\n<\/code><\/pre>\n<p><strong>2. \u5982\u4f55\u83b7\u53d6\u6e90\u5b57\u7b26\u6240\u5728\u4f4d\u7f6e\u7684\u591a\u4e2a\u5339\u914d\u9879\uff1f<\/strong><\/p>\n<p>\u5982\u679c\u60a8\u9700\u8981\u83b7\u53d6\u6e90\u5b57\u7b26\u5728\u5b57\u7b26\u4e32\u4e2d\u591a\u4e2a\u5339\u914d\u9879\u7684\u4f4d\u7f6e\uff0c\u53ef\u4ee5\u4f7f\u7528preg_match\u51fd\u6570\u7ed3\u5408\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5b9e\u73b0\u3002\u6b63\u5219\u8868\u8fbe\u5f0f\u53ef\u4ee5\u63d0\u4f9b\u66f4\u7075\u6d3b\u7684\u5339\u914d\u89c4\u5219\u3002<\/p>\n<p>\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre><code>$str = &quot;Hello, World!&quot;;\n$pattern = &quot;\/o\/&quot;; \/\/ \u5339\u914d\u6240\u6709\u5b57\u6bcd&#039;o&#039;\npreg_match_all($pattern, $str, $matches, PREG_OFFSET_CAPTURE); \/\/ \u83b7\u53d6\u6240\u6709\u5339\u914d\u9879\u53ca\u5176\u4f4d\u7f6e\nforeach ($matches[0] as $match) {\n    echo &quot;\u5b57\u6bcd&#039;o&#039;\u5728\u5b57\u7b26\u4e32\u4e2d\u7684\u4f4d\u7f6e\u662f\uff1a&quot; . $match[1] . &quot;&lt;br&gt;&quot;;\n}\n<\/code><\/pre>\n<p><strong>3. \u5982\u4f55\u5904\u7406\u6e90\u5b57\u7b26\u4f4d\u7f6e\u7684\u504f\u79fb\u91cf\u95ee\u9898\uff1f<\/strong><\/p>\n<p>\u5728\u5904\u7406\u6e90\u5b57\u7b26\u4f4d\u7f6e\u7684\u65f6\u5019\uff0c\u6709\u65f6\u4f1a\u9047\u5230\u504f\u79fb\u91cf\u7684\u95ee\u9898\uff0c\u5c24\u5176\u5728\u5b57\u7b26\u4e32\u4e2d\u5b58\u5728\u591a\u5b57\u8282\u5b57\u7b26\u7684\u60c5\u51b5\u4e0b\u3002\u8981\u907f\u514d\u504f\u79fb\u91cf\u5bfc\u81f4\u7684\u9519\u8bef\u7ed3\u679c\uff0c\u53ef\u4ee5\u4f7f\u7528mb_stripos\u51fd\u6570\u548cmb_strrpos\u51fd\u6570\uff0c\u5b83\u4eec\u662f\u9488\u5bf9\u591a\u5b57\u8282\u5b57\u7b26\u5b89\u5168\u7684\u7248\u672c\u3002<\/p>\n<p>\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre><code>$str = &quot;\u4f60\u597d\uff0c\u4e16\u754c\uff01&quot;;\n$position = mb_stripos($str, &quot;\u597d&quot;); \/\/ \u83b7\u53d6\u5b57\u7b26&#039;\u597d&#039;\u7684\u4f4d\u7f6e\necho &quot;\u5b57\u7b26&#039;\u597d&#039;\u5728\u5b57\u7b26\u4e32\u4e2d\u7684\u4f4d\u7f6e\u662f\uff1a&quot; . $position;\n<\/code><\/pre>\n<p>\u901a\u8fc7\u638c\u63e1\u8fd9\u4e9b\u51fd\u6570\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u66f4\u7cbe\u786e\u5730\u83b7\u53d6\u6e90\u5b57\u7b26\u6240\u5728\u4f4d\u7f6e\uff0c\u5e76\u5904\u7406\u504f\u79fb\u91cf\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728PHP\u4e2d\uff0c\u638c\u63e1\u51fd\u6570\u53c2\u6570\u4e2d\u6e90\u5b57\u7b26\u6240\u5728\u4f4d\u7f6e\u7684\u89c4\u5f8b\uff0c\u4e3b\u8981\u6d89\u53ca\u4e24\u65b9\u9762\uff1a\u53c2\u6570\u4f20\u9012\u673a\u5236\u548c\u5b57\u7b26\u4e32\u64cd\u4f5c\u51fd\u6570\u3002\u53c2\u6570\u4f20\u9012\u673a\u5236\u5206\u4e3a [&hellip;]","protected":false},"author":3,"featured_media":182298,"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\/182291"}],"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=182291"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/182291\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/182298"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=182291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=182291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=182291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}