{"id":275501,"date":"2024-05-16T14:29:13","date_gmt":"2024-05-16T06:29:13","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/275501.html"},"modified":"2024-05-16T14:29:22","modified_gmt":"2024-05-16T06:29:22","slug":"php-%e9%a1%b9%e7%9b%ae%e7%a8%8b%e5%ba%8f%e6%80%8e%e4%b9%88%e5%88%a4%e6%96%ad%e5%ad%97%e7%ac%a6%e4%b8%b2%e6%98%af%e5%90%a6%e6%98%af%e4%b8%ad%e6%96%87","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/275501.html","title":{"rendered":"php \u9879\u76ee\u7a0b\u5e8f\u600e\u4e48\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u662f\u4e2d\u6587"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24200428\/cadc30f7-0274-4c4c-a446-585c9f97bead.webp\" alt=\"php \u9879\u76ee\u7a0b\u5e8f\u600e\u4e48\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u662f\u4e2d\u6587\" \/><\/p>\n<p><p>PHP\u9879\u76ee\u7a0b\u5e8f\u4e2d\uff0c\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u662f\u4e2d\u6587\u4e3b\u8981\u4f9d\u636e\u4e2d\u6587\u5b57\u7b26\u7684\u7f16\u7801\u8303\u56f4\u8fdb\u884c\u5224\u65ad\uff0c<strong>\u5e38\u7528\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001mb_strlen\u51fd\u6570\u3001\u4ee5\u53ca\u5176\u4ed6\u5b57\u7b26\u4e32\u5904\u7406\u51fd\u6570<\/strong>\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u901a\u8fc7\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u68c0\u67e5\u5b57\u7b26\u4e32\u4e2d\u662f\u5426\u5305\u542b\u81f3\u5c11\u4e00\u4e2a\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><p><strong>\u6b63\u5219\u8868\u8fbe\u5f0f<\/strong>\u662f\u4e00\u79cd\u5e38\u7528\u7684\u68c0\u6d4b\u65b9\u6cd5\uff0c\u5b83\u4f9d\u8d56\u4e8e\u4e2d\u6587\u5b57\u7b26\u5728\u7f16\u7801\u8868\u4e2d\u7684\u8303\u56f4\u3002UTF-8\u7f16\u7801\u4e0b\u4e2d\u6587\u5b57\u7b26\u4e00\u822c\u4f4d\u4e8e\\x{4e00}-\\x{9fa5}\u8303\u56f4\u5185\uff0c\u56e0\u6b64\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\u3002\u5c55\u5f00\u63cf\u8ff0\u6b63\u5219\u8868\u8fbe\u5f0f\u8fd9\u4e2a\u65b9\u6cd5\uff0c\u5b83\u5229\u7528\u4e86UTF-8\u7f16\u7801\u4e0b\u4e2d\u6587\u5360\u75283\u4e2a\u5b57\u8282\u7684\u7279\u6027\uff0c\u901a\u8fc7\u7f16\u5199\u4e00\u4e2a\u80fd\u591f\u5339\u914d\u8fd9\u4e2a\u5b57\u8282\u8303\u56f4\u7684\u8868\u8fbe\u5f0f\uff0c\u5c31\u80fd\u5f88\u597d\u5730\u8fdb\u884c\u4e2d\u6587\u5224\u65ad\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u8981\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u68c0\u6d4b\u5b57\u7b26\u4e32\u4e2d\u662f\u5426\u542b\u6709\u4e2d\u6587\uff0c\u901a\u5e38\u4f1a\u91c7\u7528\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-php\">function isChinese($string) {<\/p>\n<p>    return preg_match(&#039;\/[\\x{4e00}-\\x{9fa5}]+\/u&#039;, $string);<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u51fd\u6570\u4e2d\uff0c<code>preg_match<\/code>\u7528\u4e8e\u6267\u884c\u4e00\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\u641c\u7d22\uff0c\u5176\u4e2d\u7684\u6b63\u5219\u8868\u8fbe\u5f0f<code>\/[\\x{4e00}-\\x{9fa5}]+\/u<\/code>\u7528\u6765\u5339\u914d\u4e00\u4e2a\u6216\u591a\u4e2a\uff08<code>+<\/code>\uff09\u8fde\u7eed\u7684\u4e2d\u6587\u5b57\u7b26\u3002<code>\/u<\/code>\u4fee\u9970\u7b26\u8868\u793a\u6b63\u5219\u8868\u8fbe\u5f0f\u4f7f\u7528UTF-8\u7f16\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u68c0\u67e5\u5b57\u7b26\u4e32\u957f\u5ea6\u5dee\u5f02\u6cd5<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7\u8ba1\u7b97\u5b57\u7b26\u4e32\u957f\u5ea6\u7684\u5dee\u5f02\u6765\u5224\u65ad\u3002\u7531\u4e8e\u4e2d\u6587\u5b57\u7b26\u5728UTF-8\u7f16\u7801\u4e0b\u4e00\u822c\u6bd4ASCII\u5b57\u7b26\u5360\u7528\u66f4\u591a\u5b57\u8282\uff0c\u6240\u4ee5\u82e5\u4e2d\u6587\u5b57\u7b26\u4e32\u7684\u5b57\u8282\u957f\u5ea6\u548c\u5b57\u7b26\u957f\u5ea6\u4e0d\u4e00\u81f4\uff0c\u5219\u5f88\u53ef\u80fd\u5305\u542b\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-php\">function isChineseByLength($string) {<\/p>\n<p>    $encoding = mb_detect_encoding($string, array(&#039;UTF-8&#039;, &#039;GBK&#039;, &#039;GB2312&#039;));<\/p>\n<p>    $encoding = $encoding ? $encoding : &#039;UTF-8&#039;;<\/p>\n<p>    return strlen($string) !== mb_strlen($string, $encoding);<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u9996\u5148\u68c0\u6d4b\u5b57\u7b26\u4e32\u7684\u7f16\u7801\uff0c\u63a5\u7740\u6bd4\u8f83<code>strlen<\/code>\u51fd\u6570\u8fd4\u56de\u7684\u5b57\u8282\u957f\u5ea6\u548c<code>mb_strlen<\/code>\u51fd\u6570\u8fd4\u56de\u7684\u5b57\u7b26\u957f\u5ea6\u3002\u5982\u679c\u4e24\u8005\u4e0d\u540c\uff0c\u901a\u5e38\u610f\u5473\u7740\u5b58\u5728\u591a\u5b57\u8282\u5b57\u7b26\uff0c\u5f88\u53ef\u80fd\u5c31\u662f\u4e2d\u6587\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u7ed3\u5408\u5b57\u7b26\u7f16\u7801\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u6709\u65f6\u5019\uff0c\u4ec5\u4ec5\u901a\u8fc7\u4e0a\u8ff0\u65b9\u6cd5\u53ef\u80fd\u4e0d\u591f\u7cbe\u786e\uff0c\u7279\u522b\u662f\u5904\u7406\u591a\u79cd\u8bed\u8a00\u6df7\u5408\u7684\u5b57\u7b26\u4e32\u65f6\u3002\u6b64\u65f6\u53ef\u4ee5\u5c06\u5176\u7ed3\u5408\uff0c\u901a\u8fc7\u7f16\u7801\u8f6c\u6362\u518d\u8fdb\u884c\u5224\u65ad\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-php\">function isChineseByEncoding($string) {<\/p>\n<p>    $gbString = iconv(&#039;UTF-8&#039;, &#039;GBK\/\/IGNORE&#039;, $string);<\/p>\n<p>    $utf8String = iconv(&#039;GBK&#039;, &#039;UTF-8\/\/IGNORE&#039;, $gbString);<\/p>\n<p>    return $string !== $utf8String;<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0a\u8ff0\u51fd\u6570\u4f7f\u7528\u4e86<code>iconv<\/code>\u51fd\u6570\u8fdb\u884c\u7f16\u7801\u8f6c\u6362\u3002\u5982\u679c\u5b57\u7b26\u4e32\u4e2d\u542b\u6709\u4e2d\u6587\uff0c\u90a3\u4e48\u5728UTF-8\u5230GBK\u7684\u8f6c\u6362\u8fc7\u7a0b\u4e2d\uff0c\u518d\u4eceGBK\u8f6c\u56deUTF-8\u65f6\uff0c\u4f1a\u51fa\u73b0\u4e0d\u540c\uff0c\u56e0\u4e3a\u90e8\u5206\u5b57\u7b26\u53ef\u80fd\u65e0\u6cd5\u5728GBK\u7f16\u7801\u4e2d\u5b8c\u7f8e\u8868\u793a\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u7efc\u5408\u5224\u65ad\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u4e00\u4e2a\u66f4\u5168\u9762\u7684\u65b9\u6cd5\u662f\u5c06\u6b63\u5219\u5339\u914d\u3001\u957f\u5ea6\u5224\u65ad\u548c\u7f16\u7801\u8f6c\u6362\u76f8\u7ed3\u5408\uff0c\u4ee5\u63d0\u9ad8\u51c6\u786e\u7387\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-php\">function isChineseComprehensive($string) {<\/p>\n<p>    if (isChineseByLength($string) || isChineseByEncoding($string)) {<\/p>\n<p>        return true;<\/p>\n<p>    }<\/p>\n<p>    return isChinese($string);<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6b64\u51fd\u6570\u9996\u5148\u8c03\u7528<code>isChineseByLength<\/code>\u548c<code>isChineseByEncoding<\/code>\u8fdb\u884c\u5224\u65ad\uff0c\u5982\u679c\u5176\u4e2d\u4e00\u4e2a\u68c0\u6d4b\u5230\u4e2d\u6587\uff0c\u5219\u8fd4\u56de<code>true<\/code>\u3002\u6700\u540e\uff0c\u518d\u901a\u8fc7<code>isChinese<\/code>\u8fdb\u884c\u6b63\u5219\u5339\u914d\u4f5c\u4e3a\u8865\u5145\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4e0d\u540c\u73af\u5883\u4e0b\u7684PHP\u914d\u7f6e\u548c\u9ed8\u8ba4\u5b57\u7b26\u96c6\uff0c\u5982\u679c\u4e0d\u4e00\u81f4\u53ef\u80fd\u5bfc\u81f4\u68c0\u6d4b\u7ed3\u679c\u4e0d\u51c6\u786e\u3002\u6b64\u5916\uff0c\u7531\u4e8e\u4e0d\u540c\u4e2d\u6587\u5b57\u7b26\u96c6\u548c\u4e0d\u540cPHP\u7248\u672c\u4e4b\u95f4\u5b58\u5728\u5dee\u5f02\uff0c\u5efa\u8bae\u5728\u4ee3\u7801\u4e2d\u660e\u786e\u6307\u5b9a\u5b57\u7b26\u7f16\u7801\uff0c\u5e76\u5728\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u524d\u6d4b\u8bd5\u5176\u51c6\u786e\u6027\u3002<\/p>\n<\/p>\n<p><p>\u5728\u5904\u7406\u56fd\u9645\u5316\u9879\u76ee\u65f6\uff0c\u8003\u8651\u5230\u53ef\u80fd\u7684\u5b57\u7b26\u96c6\u591a\u6837\u6027\uff0c\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u662f\u4e2d\u6587\u65f6\u5e94\u8be5\u91c7\u7528\u7075\u6d3b\u7684\u65b9\u6cd5\uff0c\u5e76\u4e14\u5bf9\u73af\u5883\u8fdb\u884c\u9002\u5f53\u914d\u7f6e\uff0c\u4ee5\u786e\u4fdd\u4ee3\u7801\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u60c5\u51b5\u4e0b\u6b63\u5e38\u8fd0\u884c\u5e76\u5f97\u5230\u51c6\u786e\u7684\u7ed3\u679c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5982\u4f55\u5728php\u9879\u76ee\u4e2d\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u5305\u542b\u4e2d\u6587\u5b57\u7b26\uff1f<\/strong><br \/>\n\u5728php\u9879\u76ee\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u5305\u542b\u4e2d\u6587\u5b57\u7b26\u3002\u53ef\u4ee5\u4f7f\u7528preg_match()\u51fd\u6570\u6765\u5339\u914d\u4e2d\u6587\u5b57\u7b26\u7684Unicode\u7f16\u7801\u8303\u56f4\uff0c\u5982\u679c\u5339\u914d\u6210\u529f\u5219\u8868\u793a\u5b57\u7b26\u4e32\u5305\u542b\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n<pre><code class=\"language-php\">function cont<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>nsChinese($str) {\n    return preg_match(&quot;\/[\\x{4e00}-\\x{9fa5}]\/u&quot;, $str);\n}\n\n\/\/ \u4f7f\u7528\u793a\u4f8b\n$string1 = &quot;Hello World!&quot;;\n$string2 = &quot;\u4f60\u597d\uff0c\u4e16\u754c\uff01&quot;;\n\nif (containsChinese($string1)) {\n    echo &quot;\u5b57\u7b26\u4e321\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;;\n} else {\n    echo &quot;\u5b57\u7b26\u4e321\u4e0d\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;;\n}\n\nif (containsChinese($string2)) {\n    echo &quot;\u5b57\u7b26\u4e322\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;;\n} else {\n    echo &quot;\u5b57\u7b26\u4e322\u4e0d\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;;\n}\n<\/code><\/pre>\n<p><strong>2. php\u9879\u76ee\u4e2d\u5982\u4f55\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u5168\u4e3a\u4e2d\u6587\u5b57\u7b26\uff1f<\/strong><br \/>\n\u5982\u679c\u60f3\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u5168\u4e3a\u4e2d\u6587\u5b57\u7b26\uff0c\u53ef\u4ee5\u4f7f\u7528mb_strlen()\u51fd\u6570\u6765\u83b7\u53d6\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\uff0c\u7136\u540e\u4e0e\u5b57\u7b26\u4e32\u4e2d\u7684\u6c49\u5b57\u6570\u8fdb\u884c\u6bd4\u8f83\uff0c\u5982\u679c\u4e24\u8005\u76f8\u540c\uff0c\u5219\u8868\u793a\u5b57\u7b26\u4e32\u5168\u4e3a\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n<pre><code class=\"language-php\">function isChinese($str) {\n    $chineseChars = preg_replace(&#039;\/[^\\x7f-\\xff]\/&#039;, &#039;&#039;, $str);\n    $totalChars = mb_strlen($str, &#039;UTF-8&#039;);\n    \n    return mb_strlen($chineseChars, &#039;UTF-8&#039;) === $totalChars;\n}\n\n\/\/ \u4f7f\u7528\u793a\u4f8b\n$string1 = &quot;Hello World!&quot;;\n$string2 = &quot;\u4f60\u597d\uff0c\u4e16\u754c\uff01&quot;;\n$string3 = &quot;\u4f60\u597d\u4e16\u754c&quot;;\n\nif (isChinese($string1)) {\n    echo &quot;\u5b57\u7b26\u4e321\u5168\u4e3a\u4e2d\u6587\u5b57\u7b26&quot;;\n} else {\n    echo &quot;\u5b57\u7b26\u4e321\u4e0d\u5168\u4e3a\u4e2d\u6587\u5b57\u7b26&quot;;\n}\n\nif (isChinese($string2)) {\n    echo &quot;\u5b57\u7b26\u4e322\u5168\u4e3a\u4e2d\u6587\u5b57\u7b26&quot;;\n} else {\n    echo &quot;\u5b57\u7b26\u4e322\u4e0d\u5168\u4e3a\u4e2d\u6587\u5b57\u7b26&quot;;\n}\n\nif (isChinese($string3)) {\n    echo &quot;\u5b57\u7b26\u4e323\u5168\u4e3a\u4e2d\u6587\u5b57\u7b26&quot;;\n} else {\n    echo &quot;\u5b57\u7b26\u4e323\u4e0d\u5168\u4e3a\u4e2d\u6587\u5b57\u7b26&quot;;\n}\n<\/code><\/pre>\n<p><strong>3. \u5982\u4f55\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u4e2d\u662f\u5426\u5305\u542b\u7279\u5b9a\u6570\u91cf\u7684\u4e2d\u6587\u5b57\u7b26\uff1f<\/strong><br \/>\n\u5982\u679c\u60f3\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u4e2d\u662f\u5426\u5305\u542b\u7279\u5b9a\u6570\u91cf\u7684\u4e2d\u6587\u5b57\u7b26\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528preg_match_all()\u51fd\u6570\u6765\u5339\u914d\u4e2d\u6587\u5b57\u7b26\u5e76\u8ba1\u6570\uff0c\u7136\u540e\u4e0e\u7ed9\u5b9a\u7684\u6570\u91cf\u8fdb\u884c\u6bd4\u8f83\uff0c\u5982\u679c\u76f8\u540c\u5219\u8868\u793a\u5b57\u7b26\u4e32\u4e2d\u5305\u542b\u6307\u5b9a\u6570\u91cf\u7684\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n<pre><code class=\"language-php\">function countChinese($str, $count) {\n    preg_match_all(&quot;\/[\\x{4e00}-\\x{9fa5}]\/u&quot;, $str, $matches);\n    $chineseCount = count($matches[0]);\n    \n    return $chineseCount === $count;\n}\n\n\/\/ \u4f7f\u7528\u793a\u4f8b\n$string = &quot;\u4f60\u597d\uff0c\u4e16\u754c\uff01&quot;;\n$count = 2;\n\nif (countChinese($string, $count)) {\n    echo &quot;\u5b57\u7b26\u4e32\u4e2d\u5305\u542b&quot; . $count . &quot;\u4e2a\u4e2d\u6587\u5b57\u7b26&quot;;\n} else {\n    echo &quot;\u5b57\u7b26\u4e32\u4e2d\u4e0d\u5305\u542b&quot; . $count . &quot;\u4e2a\u4e2d\u6587\u5b57\u7b26&quot;;\n}\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"PHP\u9879\u76ee\u7a0b\u5e8f\u4e2d\uff0c\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u662f\u4e2d\u6587\u4e3b\u8981\u4f9d\u636e\u4e2d\u6587\u5b57\u7b26\u7684\u7f16\u7801\u8303\u56f4\u8fdb\u884c\u5224\u65ad\uff0c\u5e38\u7528\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001mb_ [&hellip;]","protected":false},"author":3,"featured_media":275513,"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\/275501"}],"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=275501"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/275501\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/275513"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=275501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=275501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=275501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}