{"id":85,"date":"2023-06-05T13:12:55","date_gmt":"2023-06-05T05:12:55","guid":{"rendered":"http:\/\/pro369.com\/php\/?p=85"},"modified":"2019-04-16T16:08:47","modified_gmt":"2019-04-16T16:08:47","slug":"php%e9%ab%98%e6%95%88%e7%8e%87%e5%af%ab%e6%b3%95%e5%af%a6%e4%be%8b","status":"publish","type":"post","link":"https:\/\/por.tw\/php\/php%e9%ab%98%e6%95%88%e7%8e%87%e5%af%ab%e6%b3%95%e5%af%a6%e4%be%8b\/","title":{"rendered":"php\u9ad8\u6548\u7387\u5beb\u6cd5\u5be6\u4f8b"},"content":{"rendered":"<p><font size=\"3\" color=\"#008000\"><strong>\u7528\u55ae\u5f15\u865f\u4ee3\u66ff\u96d9\u5f15\u865f\u4f86\u5305\u62ec\u5b57\u4e32 \uff0c\u9019\u6a23\u505a\u6703\u66f4\u5feb\u4e00\u4e9b\u3002<\/strong><\/font><\/p>\n<p><strong><font color=\"#800080\">\u56e0\u70baPHP\u6703\u5728\u96d9\u5f15\u865f\u5305\u570d\u7684\u5b57\u4e32\u4e2d\u641c\u5c0b\u8b8a\u91cf\uff0c\u55ae\u5f15\u865f\u5247\u4e0d\u6703\uff0c\u6ce8\u610f\uff1a\u53ea\u6709echo\u80fd\u9019\u9ebc\u505a\uff0c\u5b83\u662f\u4e00\u7a2e\u53ef\u4ee5\u628a\u591a\u500b\u5b57\u4e32\u7576\u4f5c\u53c3\u6578\u7684\u300c\u51fd \u6578\u300d<\/font><font color=\"#0000FF\">\uff08\u8b6f\u8a3b\uff1aPHP\u624b\u518a\u4e2d\u8aaaecho\u662f\u8a9e\u7cfb\u7d50\u69cb\uff0c\u4e0d\u662f\u771f\u6b63\u7684\u51fd\u6578\uff0c\u6545\u628a\u51fd\u6578\u52a0\u4e0a\u4e86\u96d9\u5f15\u865f\uff09\u3002<\/font><\/strong><\/p>\n<p> 1\u3001\u5982\u679c\u80fd\u5c07\u985e\u7684\u65b9\u6cd5\u5b9a\u7fa9\u6210static\uff0c\u5c31\u76e1\u91cf\u5b9a\u7fa9\u6210static \uff0c\u5b83\u7684\u901f\u5ea6\u6703\u63d0\u5347\u5c07\u8fd14\u500d\u3002<\/p>\n<p> 2\u3001$row[\u300fid\u300f] \u7684\u901f\u5ea6\u662f$row[id]\u76847\u500d\u3002<\/p>\n<p> 3\u3001echo \u6bd4 print \u5feb \uff0c\u4e26\u4e14\u4f7f\u7528echo\u7684\u591a\u91cd\u53c3\u6578\uff08\u8b6f\u8a3b\uff1a\u6307\u7528\u9017\u865f\u800c\u4e0d\u662f\u53e5\u9ede\uff09\u4ee3\u66ff\u5b57\u4e32\u9023\u7dda\uff0c\u6bd4\u5982echo $str1,$str2\u3002<\/p>\n<p> 4\u3001\u6700\u597d\u4f7f\u7528Foreach\u57f7\u884c\u8ff4\u5708 \uff0c\u5728\u57f7\u884cfor\u8ff4\u5708\u4e4b\u524d\u78ba\u5b9a\u6700\u5927\u8ff4\u5708\u6578\uff0c\u4e0d\u8981\u6bcf\u8ff4\u5708\u4e00\u6b21\u90fd\u8a08\u7b97\u6700\u5927\u503c\u3002<\/p>\n<p> 5\u3001\u8a3b\u92b7\u90a3\u4e9b\u4e0d\u7528\u7684\u8b8a\u91cf\u5c24\u5176\u662f\u5927\u9663\u5217 \uff0c\u4ee5\u4fbf\u91cb\u653e\u8a18\u61b6\u9ad4\u3002<\/p>\n<p> 6\u3001\u76e1\u91cf\u907f\u514d\u4f7f\u7528__get\uff0c__set\uff0c__autoload \u3002\u5c0d\u65bc__\u958b\u982d\u7684\u51fd\u6578\u5c31\u547d\u540d\u70ba\u9b54\u8853\u51fd\u6578\uff0c\u6b64\u985e\u51fd\u6578\u90fd\u5728\u7279\u5b9a\u7684\u689d\u4ef6\u4e0b\u5eda\u623f\u7684\u3002\u7e3d\u5f97\u4f86\u8aaa\uff0c\u6709\u4e0b\u9762\u5e7e\u500b\u9b54\u8853\u51fd\u6578<\/p>\n<p> __construct()\uff0c__destruct()\uff0c__get()\uff0c__set()\uff0c__unset()\uff0c__call()\uff0c__callStatic()\uff0c__sleep()\uff0c__wakeup()\uff0c__toString()\uff0c__set_state()\uff0c__clone()\uff0c__autoload()<\/p>\n<p> 7\u3001require_once()\u4ee3\u50f9\u6602\u8cb4 \u3002<\/p>\n<p> 8\u3001include\u6a94\u6848\u6642\u76e1\u91cf\u4f7f\u7528\u7d55\u5c0d\u8def\u5f91 \uff0c\u56e0\u70ba\u5b83\u907f\u514d\u4e86PHP\u53bbinclude_path\u88e1\u5c0b\u627e\u6a94\u6848\u7684\u901f\u5ea6\uff0c\u89e3\u6790\u64cd\u4f5c\u7cfb\u7d71\u8def\u5f91\u6240\u9700\u7684\u6642\u9593\u6703\u66f4\u5c11\u3002<\/p>\n<p> 9\u3001\u5982\u679c\u4f60\u60f3\u77e5\u9053\u8173\u672c\u958b\u59cb\u57f7\u884c\uff08\u8b6f\u8a3b\uff1a\u5373\u4f3a\u670d\u5668\u7aef\u6536\u5230\u7528\u6236\u7aef\u8acb\u6c42\uff09\u7684\u6642\u523b\uff0c\u4f7f\u7528$_SERVER[\u300eREQUEST_TIME\u300f]\u8981\u597d\u65bc time()\u3002<\/p>\n<p> 10\u3001\u51fd\u6578\u4ee3\u66ff\u6b63\u5247\u8868\u9054\u5f0f\u5b8c\u6210\u76f8\u540c\u529f\u80fd \u3002<\/p>\n<p> 11\u3001str_replace\u51fd\u6578\u6bd4preg_replace\u51fd\u6578 \u5feb\uff0c\u4f46strtr\u51fd\u6578\u7684\u6548\u7387\u662fstr_replace\u51fd\u6578\u7684\u56db\u500d\u3002<\/p>\n<p> 12\u3001\u5982\u679c\u4e00\u500b\u5b57\u4e32\u7f6e\u63db\u51fd\u6578\uff0c\u53ef\u63a5\u53d7\u9663\u5217\u6216\u5b57\u5143\u4f5c\u70ba\u53c3\u6578\uff0c\u4e26\u4e14\u53c3\u6578\u9577\u5ea6\u4e0d\u592a\u9577\uff0c\u90a3\u9ebc\u53ef\u4ee5\u8003\u616e\u984d\u5916\u5beb\u4e00\u6bb5\u7f6e\u63db\u4ee3\u78bc\uff0c\u4f7f\u5f97\u6bcf\u6b21\u50b3\u905e\u53c3\u6578\u662f\u4e00\u500b\u5b57\u5143\uff0c\u800c \u4e0d\u662f\u53ea\u5beb\u4e00\u884c\u4ee3\u78bc\u63a5\u53d7\u9663\u5217\u4f5c\u70ba\u67e5\u8a62\u548c\u7f6e\u63db\u7684\u53c3\u6578\u3002<\/p>\n<p> 13\u3001\u4f7f\u7528\u9078\u53d6\u5206\u652f\u8a9e\u53e5\u4ee3\u66ff\u689d\u4ef6\u8a9e\u53e5 \uff0c\u9078\u53d6\u5206\u652f\u8a9e\u53e5\uff08\u5373switch case\uff09\u597d\u65bc\u4f7f\u7528\u591a\u500bif\uff0celse if\u8a9e\u53e5\u3002<\/p>\n<p> 14\u3001\u4e0d\u7528@ \uff0c\u7528@\u5c4f\u853d\u932f\u8aa4\u8a0a\u606f\u7684\u505a\u6cd5\u975e\u5e38\u4f4e\u6548\uff0c\u6975\u5176\u4f4e\u6548\u3002<\/p>\n<p> 15\u3001\u958b\u555fapache\u7684mod_deflate\u6a21\u7d44\uff0c\u53ef\u4ee5\u63d0\u9ad8\u7db2\u9801 \u7684\u700f\u89bd\u901f\u5ea6 \u3002<\/p>\n<p> 16\u3001\u8cc7\u6599\u5eab\u9023\u7dda\u7576\u4f7f\u7528\u5b8c\u7562\u6642\u61c9\u95dc\u6389\uff0c\u4e0d\u8981\u7528\u9577\u9023\u7dda \u3002<\/p>\n<p> 17\u3001\u932f\u8aa4\u8a0a\u606f\u4ee3\u50f9\u6602\u8cb4 \u3002<\/p>\n<p> 18\u3001\u5728\u65b9\u6cd5\u4e2d\u905e\u589e\u5c40\u90e8\u8b8a\u91cf\uff0c\u901f\u5ea6\u662f\u6700\u5feb\u7684 \u3002\u5e7e\u4e4e\u8207\u5728\u51fd\u6578\u4e2d\u547c\u53eb\u5c40\u90e8\u8b8a\u91cf\u7684\u901f\u5ea6\u76f8\u7576\u3002<\/p>\n<p> 19\u3001\u905e\u589e\u4e00\u500b\u5168\u5c40\u8b8a\u91cf\u8981\u6bd4\u905e\u589e\u4e00\u500b\u5c40\u90e8\u8b8a\u91cf\u61622\u500d \u3002<\/p>\n<p> 20\u3001\u905e\u589e\u4e00\u500b\u5c0d\u50cf\u5c6c\u6027\uff08\u5982\uff1a$this-&gt;prop++\uff09\u8981\u6bd4\u905e\u589e\u4e00\u500b\u5c40\u90e8\u8b8a\u91cf\u61623\u500d\u3002<\/p>\n<p> 21\u3001\u905e\u589e\u4e00\u500b\u672a\u9810\u5b9a\u7fa9\u7684\u5c40\u90e8\u8b8a\u91cf\u8981\u6bd4\u905e\u589e\u4e00\u500b\u9810\u5b9a\u7fa9\u7684\u5c40\u90e8\u8b8a\u91cf\u61629\u81f310\u500d\u3002<\/p>\n<p> 22\u3001\u50c5\u5b9a\u7fa9\u4e00\u500b\u5c40\u90e8\u8b8a\u91cf\u800c\u6c92\u5728\u51fd\u6578\u4e2d\u547c\u53eb\u5b83\uff0c\u540c\u6a23\u6703\u6e1b\u6162\u901f\u5ea6\uff08\u5176\u7a0b\u5ea6\u76f8\u7576\u65bc\u905e\u589e\u4e00\u500b\u5c40\u90e8\u8b8a\u91cf\uff09\u3002PHP\u5927\u6982\u6703\u6aa2\u6aa2\u8996\u662f\u5426\u5b58\u5728\u5168\u5c40\u8b8a\u91cf\u3002<\/p>\n<p> 23\u3001\u65b9\u6cd5\u547c\u53eb\u770b\u4f86\u8207\u985e\u4e2d\u5b9a\u7fa9\u7684\u65b9\u6cd5\u7684\u6578\u91cf\u7121\u95dc\uff0c\u56e0\u70ba\u6211\uff08\u5728\u6e2c\u8a66\u65b9\u6cd5\u4e4b\u524d\u548c\u4e4b\u5f8c\u90fd\uff09\u52a0\u5165\u4e8610\u500b\u65b9\u6cd5\uff0c\u4f46\u6548\u80fd\u4e0a\u6c92\u6709\u8b8a\u5316\u3002<\/p>\n<p> 24\u3001\u6d3e\u751f\u985e\u4e2d\u7684\u65b9\u6cd5\u904b\u884c\u8d77\u4f86\u8981\u5feb\u65bc\u5728\u57fa\u985e\u4e2d\u5b9a\u7fa9\u7684\u540c\u6a23\u7684\u65b9\u6cd5\u3002<\/p>\n<p> 25\u3001\u547c\u53eb\u5e36\u6709\u4e00\u500b\u53c3\u6578\u7684\u7a7a\u51fd\u6578\uff0c\u5176\u82b1\u8cbb\u7684\u6642\u9593\u76f8\u7576\u65bc\u57f7\u884c7\u81f38\u6b21\u7684\u5c40\u90e8\u8b8a\u91cf\u905e\u589e\u64cd\u4f5c\u3002\u985e\u4f3c\u7684\u65b9\u6cd5\u547c\u53eb\u6240\u82b1\u8cbb\u7684\u6642\u9593\u63a5\u8fd1\u65bc15\u6b21\u7684\u5c40\u90e8\u8b8a\u91cf\u905e\u589e\u64cd \u4f5c\u3002<\/p>\n<p> 26\u3001Apache\u89e3\u6790\u4e00\u500bPHP\u8173\u672c\u7684\u6642\u9593\u8981\u6bd4\u89e3\u6790\u4e00\u500b\u975c\u614bHTML\u9801\u9762\u61622\u81f310\u500d\u3002\u76e1\u91cf\u591a\u7528\u975c\u614bHTML\u9801\u9762\uff0c\u5c11\u7528\u8173\u672c\u3002<\/p>\n<p> 27\u3001\u9664\u975e\u8173\u672c\u53ef\u4ee5\u5feb\u53d6\uff0c\u5426\u5247\u6bcf\u6b21\u547c\u53eb\u6642\u90fd\u6703\u91cd\u65b0\u7de8\u8b6f\u4e00\u6b21\u3002\u5f15\u5165\u4e00\u5957PHP\u5feb\u53d6\u6a5f\u5236\u901a\u5e38\u53ef\u4ee5\u63d0\u534725%\u81f3100%\u7684\u6548\u80fd\uff0c\u4ee5\u514d\u9664\u7de8\u8b6f\u958b\u92b7\u3002<\/p>\n<p> 28\u3001\u76e1\u91cf\u505a\u5feb\u53d6\uff0c\u53ef\u4f7f\u7528memcached\u3002memcached\u662f\u4e00\u6b3e\u9ad8\u6548\u80fd\u7684\u8a18\u61b6\u9ad4\u5c0d\u50cf\u5feb\u53d6\u7cfb\u7d71\uff0c\u53ef\u7528\u4f86\u52a0\u901f\u52d5\u614bWeb\u61c9\u7528\u7a0b\u5f0f\uff0c\u6e1b\u8f15\u8cc7\u6599\u5eab\u8ca0 \u8f09\u3002\u5c0d\u64cd\u4f5c\u78bc (OP code)\u7684\u5feb\u53d6\u5f88\u6709\u7528\uff0c\u4f7f\u5f97\u8173\u672c\u4e0d\u5fc5\u70ba\u6bcf\u500b\u8acb\u6c42\u505a\u91cd\u65b0\u7de8\u8b6f\u3002<\/p>\n<p> 29\u3001\u7576\u64cd\u4f5c\u5b57\u4e32\u4e26\u9700\u8981\u6aa2\u9a57\u5176\u9577\u5ea6\u662f\u5426\u6eff\u8db3\u67d0\u7a2e\u8981\u6c42\u6642\uff0c\u4f60\u60f3\u7576\u7136\u5730\u6703\u4f7f\u7528strlen()\u51fd\u6578\u3002\u6b64\u51fd\u6578\u57f7\u884c\u8d77\u4f86\u76f8\u7576\u5feb\uff0c\u56e0\u70ba\u5b83\u4e0d\u505a\u4efb\u4f55\u8a08\u7b97\uff0c\u53ea\u8fd4 \u56de\u5728zval \u7d50\u69cb\uff08C\u7684\u5167\u5efa\u8cc7\u6599\u7d50\u69cb\uff0c\u7528\u65bc\u5b58\u5132PHP\u8b8a\u91cf\uff09\u4e2d\u5b58\u5132\u7684\u5df2\u77e5\u5b57\u4e32\u9577\u5ea6\u3002\u4f46\u662f\uff0c\u7531\u65bcstrlen()\u662f\u51fd\u6578\uff0c\u591a\u591a\u5c11\u5c11\u6703\u6709\u4e9b\u6162\uff0c\u56e0\u70ba\u51fd\u6578\u547c\u53eb\u6703\u7d93\u7531\u8af8\u591a\u6b65 \u9a5f\uff0c\u5982\u5b57\u6bcd\u5c0f\u5beb\u5316\uff08\u8b6f\u8a3b\uff1a\u6307\u51fd\u6578\u540d\u5c0f\u5beb\u5316\uff0cPHP\u4e0d\u5340\u5206\u51fd\u6578\u540d\u5927\u5c0f\u5beb\uff09\u3001\u54c8\u5e0c\u5c0b\u627e\uff0c\u6703\u8ddf\u96a8\u88ab\u547c\u53eb\u7684\u51fd\u6578\u4e00\u8d77\u57f7\u884c\u3002\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528isset() \u6280\u5de7\u52a0\u901f\u57f7\u884c\u4f60\u7684\u4ee3\u78bc\u3002<\/p>\n<p> \uff08\u8209\u4f8b\u5982\u4e0b\uff09<\/p>\n<p> if (strlen($foo) &lt; 5) { echo \u300cFoo is too short\u300d$$ }<br \/> \uff08\u8207\u4e0b\u9762\u7684\u6280\u5de7\u505a\u6bd4\u8f03\uff09<br \/> if (!isset($foo{5})) { echo \u300cFoo is too short\u300d$$ }<\/p>\n<p> \u547c\u53ebisset()\u6070\u5de7\u6bd4strlen()\u5feb\uff0c\u56e0\u70ba\u8207\u5f8c\u8005\u4e0d\u540c\u7684\u662f\uff0cisset()\u4f5c\u70ba\u4e00\u7a2e\u8a9e\u7cfb\u7d50\u69cb\uff0c\u610f\u5473\u8457\u5b83\u7684\u57f7\u884c\u4e0d\u9700\u8981\u51fd\u6578\u5c0b\u627e\u548c\u5b57\u6bcd\u5c0f\u5beb\u5316\u3002 \u4e5f\u5c31\u662f\u8aaa\uff0c\u5be6\u969b\u4e0a\u5728\u6aa2\u9a57\u5b57\u4e32\u9577\u5ea6\u7684\u9802\u5c64\u4ee3\u78bc\u4e2d\u4f60\u6c92\u6709\u82b1\u592a\u591a\u958b\u92b7\u3002<\/p>\n<p> 34\u3001\u7576\u57f7\u884c\u8b8a\u91cf$i\u7684\u905e\u589e\u6216\u905e\u6e1b\u6642\uff0c$i++\u6703\u6bd4++$i\u6162\u4e00\u4e9b\u3002\u9019\u7a2e\u5dee\u7570\u662fPHP\u7279\u6709\u7684\uff0c\u4e26\u4e0d\u9069\u7528\u65bc\u5176\u4ed6\u8a9e\u7cfb\uff0c\u6240\u4ee5\u8acb\u4e0d\u8981\u4fee\u6539\u4f60\u7684C\u6216Java \u4ee3\u78bc\u4e26\u6307\u671b\u5b83\u5011\u80fd\u7acb\u5373\u8b8a\u5feb\uff0c\u6c92\u7528\u7684\u3002++$i\u66f4\u5feb\u662f\u56e0\u70ba\u5b83\u53ea\u9700\u89813\u689d\u6307\u4ee4(opcodes)\uff0c$i++\u5247\u9700\u89814\u689d\u6307\u4ee4\u3002\u5f8c\u7f6e\u905e\u589e\u5be6\u969b\u4e0a\u6703\u7522\u751f\u4e00\u500b\u81e8\u6642\u8b8a \u91cf\uff0c\u9019\u500b\u81e8\u6642\u8b8a\u91cf\u96a8\u5f8c\u88ab\u905e\u589e\u3002\u800c\u524d\u7f6e\u905e\u589e\u76f4\u63a5\u5728\u539f\u503c\u4e0a\u905e\u589e\u3002\u9019\u662f\u6700\u6539\u5584\u8655\u7406\u7684\u4e00\u7a2e\uff0c\u6b63\u5982Zend\u7684PHP\u6539\u5584\u5668\u6240\u4f5c\u7684\u90a3\u6a23\u3002\u7262\u8a18\u9019\u500b\u6539\u5584\u8655\u7406\u4e0d\u5931\u70ba\u4e00\u500b\u597d \u4e3b\u610f\uff0c\u56e0\u70ba\u4e26\u4e0d\u662f\u6240\u6709\u7684\u6307\u4ee4\u6539\u5584\u5668\u90fd\u6703\u505a\u540c\u6a23\u7684\u6539\u5584\u8655\u7406\uff0c\u4e26\u4e14\u5b58\u5728\u5927\u91cf\u6c92\u6709\u88dd\u914d\u6307\u4ee4\u6539\u5584\u5668\u7684\u969b\u7db2\u8def\u670d\u52d9\u63d0\u4f9b\u5546\uff08ISPs\uff09\u548c\u4f3a\u670d\u5668\u3002<\/p>\n<p> 35\u3001\u4e26\u4e0d\u662f\u4e8b\u5fc5\u9762\u5411\u5c0d\u50cf(OOP)\uff0c\u9762\u5411\u5c0d\u50cf\u5f80\u5f80\u958b\u92b7\u5f88\u5927\uff0c\u6bcf\u500b\u65b9\u6cd5\u548c\u5c0d\u50cf\u547c\u53eb\u90fd\u6703\u6d88\u8017\u5f88\u591a\u8a18\u61b6\u9ad4\u3002<\/p>\n<p> 36\u3001\u4e26\u975e\u8981\u7528\u985e\u5be6\u73fe\u6240\u6709\u7684\u8cc7\u6599\u7d50\u69cb\uff0c\u9663\u5217\u4e5f\u5f88\u6709\u7528\u3002<\/p>\n<p> 37\u3001\u4e0d\u8981\u628a\u65b9\u6cd5\u7d30\u5206\u5f97\u904e\u591a\uff0c\u4ed4\u7d30\u60f3\u60f3\u4f60\u771f\u6b63\u6253\u7b97\u91cd\u7528\u7684\u662f\u54ea\u4e9b\u4ee3\u78bc\uff1f<\/p>\n<p> 38\u3001\u7576\u4f60\u9700\u8981\u6642\uff0c\u4f60\u7e3d\u80fd\u628a\u4ee3\u78bc\u5206\u89e3\u6210\u65b9\u6cd5\u3002<\/p>\n<p> 39\u3001\u76e1\u91cf\u63a1\u7528\u5927\u91cf\u7684PHP\u5167\u5efa\u51fd<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7528\u55ae\u5f15\u865f\u4ee3\u66ff\u96d9\u5f15\u865f\u4f86\u5305\u62ec\u5b57\u4e32 \uff0c\u9019\u6a23\u505a\u6703\u66f4\u5feb\u4e00\u4e9b\u3002 \u56e0\u70baPHP\u6703\u5728\u96d9\u5f15\u865f\u5305\u570d\u7684\u5b57\u4e32\u4e2d\u641c\u5c0b\u8b8a\u91cf\uff0c\u55ae\u5f15\u865f\u5247\u4e0d\u6703\uff0c\u6ce8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":396,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[22],"class_list":["post-85","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-php"],"_links":{"self":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts\/85"}],"collection":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":0,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts\/85\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/media\/396"}],"wp:attachment":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/media?parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/categories?post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/tags?post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}