{"id":30707,"date":"2024-02-08T03:57:11","date_gmt":"2023-12-16T21:03:37","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/"},"modified":"2025-08-12T20:26:29","modified_gmt":"2025-08-12T12:26:29","slug":"php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/","title":{"rendered":"PHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df"},"content":{"rendered":"<h1>PHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df<\/h1>\n<h2>\u9996\u5148<\/h2>\n<p>\u56e0\u4e3a\u5199\u4e86PHP7\u7684try catch\u7ed3\u6784\u65f6\uff0c\u6211\u89c9\u5f97\u5bf9\u53d8\u91cf\u7684\u4f5c\u7528\u57df\u8fd8\u6ca1\u6709\u7406\u89e3\uff0c\u6240\u4ee5\u4e3a\u4e86\u52a0\u6df1\u7406\u89e3\uff0c\u6211\u6574\u7406\u4e86\u4e00\u4e0b\u3002\u6b64\u5916\uff0c\u5173\u4e8ePHP\u53d8\u91cf\u4f5c\u7528\u57df\u7684\u5185\u5bb9\uff0c\u8fd8\u6709\u5f88\u591a\u6587\u7ae0\uff0c\u6211\u4f1a\u4e3a\u4e86\u81ea\u5df1\u7684\u8bb0\u5f55\u800c\u505a\u4e00\u4e9b\u63cf\u8ff0\u3002<\/p>\n<h2>\u5728try catch\u8bed\u53e5\u7684\u53d8\u91cf\u4f5c\u7528\u57df\u4e2d\u6709\u7591\u95ee<\/h2>\n<p>\u6211\u4e0d\u7406\u89e3\u7684\u662f\u4ee5\u4e0b\u63cf\u8ff0\u3002\u5728TestA\u548cTestB\u4e4b\u95f4\u7684\u4e00\u4e2a\u4e0d\u540c\u70b9\u662f\u6700\u540e\u4e00\u884c\u5904\u4e8etry catch\u4e4b\u524d\u662f\u5426\u58f0\u660e\u4e86echo $test\u3002<br \/>\n\u7531\u4e8e\u5728try catch\u4e4b\u524d\u6ca1\u6709\u58f0\u660e\uff0c\u6240\u4ee5\u6211\u8ba4\u4e3aTestA.php\u662f\u5426\u80fd\u6b63\u5e38\u8fd0\u884c\u3002\u6211\u8ba4\u4e3a$test\u5728try\u5757\u4e2d\u88ab\u58f0\u660e\uff0c\u56e0\u6b64\u5728\u5757\u7684\u5916\u90e8\u65e0\u6cd5\u8bbf\u95ee\u3002<br \/>\n\u7b54\u6848\u662f\u53ef\u4ee5\u5de5\u4f5c\u7684\u3002\u539f\u56e0\u5c06\u5728\u540e\u6587\u4e2d\u89e3\u91ca\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"cp\">&lt;?php<\/span>\r\n\r\n    <span class=\"k\">try<\/span> <span class=\"p\">{<\/span>\r\n      <span class=\"nv\">$test<\/span> <span class=\"o\">=<\/span> <span class=\"s1\">'test'<\/span><span class=\"p\">;<\/span>\r\n    <span class=\"p\">}<\/span> <span class=\"k\">catch<\/span><span class=\"p\">(<\/span><span class=\"nc\">Exception<\/span> <span class=\"nv\">$e<\/span><span class=\"p\">)<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"c1\">\/\/ \u4f55\u304b\u3057\u3089\u306e\u51e6\u7406<\/span>\r\n    <span class=\"p\">}<\/span>\r\n\r\n<span class=\"k\">echo<\/span> <span class=\"nv\">$test<\/span><span class=\"p\">;<\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"cp\">&lt;?php<\/span>\r\n    <span class=\"nv\">$test<\/span> <span class=\"o\">=<\/span> <span class=\"s1\">''<\/span><span class=\"p\">;<\/span> <span class=\"c1\">\/\/ \u5909\u6570\u5ba3\u8a00\u3092try\u30d6\u30ed\u30c3\u30af\u5916\u3067\u3057\u3066\u3044\u308b<\/span>\r\n    <span class=\"k\">try<\/span> <span class=\"p\">{<\/span>\r\n      <span class=\"nv\">$test<\/span> <span class=\"o\">=<\/span> <span class=\"s1\">'test'<\/span><span class=\"p\">;<\/span>\r\n    <span class=\"p\">}<\/span> <span class=\"k\">catch<\/span><span class=\"p\">(<\/span><span class=\"nc\">Exception<\/span> <span class=\"nv\">$e<\/span><span class=\"p\">)<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"c1\">\/\/ \u4f55\u304b\u3057\u3089\u306e\u51e6\u7406<\/span>\r\n    <span class=\"p\">}<\/span>\r\n\r\n<span class=\"k\">echo<\/span> <span class=\"nv\">$test<\/span><span class=\"p\">;<\/span>\r\n<\/code><\/pre>\n<h2>PHP\u7684\u4f5c\u7528\u57df\u548c\u53d8\u91cf\u7c7b\u578b<\/h2>\n<p>\u7406\u89e3&#8221;\u4f5c\u7528\u57df&#8221;\u7684\u6982\u5ff5\uff0c\u5b83\u6307\u5b9a\u4e86\u4e00\u4e2a\u6709\u6548\u8303\u56f4\uff0c\u53d8\u91cf\u7c7b\u578b\u4f1a\u901a\u8fc7\u4e0d\u540c\u7684\u7ec4\u5408\u6765\u786e\u5b9a\u5176\u6709\u6548\u8303\u56f4\u3002<\/p>\n<p>PHP\u7684\u4f5c\u7528\u57df\u6709\u4e24\u79cd\u7c7b\u578b\u3002<\/p>\n<ul class=\"post-ul\">\n\u30ed\u30fc\u30ab\u30eb\u30b9\u30b3\u30fc\u30d7<\/p>\n<p>\u95a2\u6570\u306e\u4e2d\u3067\u306e\u307f\u6709\u52b9 <\/p>\n<p>\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30b3\u30fc\u30d7<\/p>\n<p>\u95a2\u6570\u306e\u5916\u3067\u306e\u307f\u6709\u52b9(*\u95a2\u6570\u306e\u5f15\u6570\u3067\u6e21\u3059\u307e\u305f\u306fglobal\u5ba3\u8a00\u3092\u4f7f\u3046\u3068\u95a2\u6570\u5185\u3067\u30a2\u30af\u30bb\u30b9\u53ef\u80fd)<\/p>\n<\/ul>\n<p>PHP\u7684\u53d8\u91cf\u6709\u56db\u79cd\u7c7b\u578b\u3002<\/p>\n<ul class=\"post-ul\">\n\u30ed\u30fc\u30ab\u30eb\u5909\u6570<\/p>\n<p>\u30ed\u30fc\u30ab\u30eb\u30b9\u30b3\u30fc\u30d7\u306e\u5909\u6570<\/p>\n<p>\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570<\/p>\n<p>\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30b3\u30fc\u30d7\u306e\u5909\u6570<\/p>\n<p>\u30b9\u30fc\u30d1\u30fc\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570<\/p>\n<p>\u30ed\u30fc\u30ab\u30eb\u30b9\u30b3\u30fc\u30d7\u3068\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30b3\u30fc\u30d7\u306e\u4e21\u65b9\u3092\u3082\u3064\u30b9\u30b3\u30fc\u30d7\uff08\u3064\u307e\u308a\u3069\u3053\u304b\u3089\u3067\u3082\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\uff09<br \/>\n$GROBALS\u306a\u3069<\/p>\n<p>\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u5909\u6570<\/p>\n<p>\u30ed\u30fc\u30ab\u30eb\u30b9\u30b3\u30fc\u30d7\u3067\u3001\u305d\u306e\u5024\u306f\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30b3\u30fc\u30d7\u3068\u540c\u69d8\u306b\u305a\u3063\u3068\u4fdd\u6301\u3055\u308c\u308b<br \/>\n\u521d\u671f\u5316\u306f1\u56de\u3057\u304b\u3055\u308c\u306a\u3044<\/p>\n<\/ul>\n<h2>\u5728PHP\u4e2d\uff0c\u5728\u5757\u5185\u58f0\u660e\u7684\u53d8\u91cf\u5373\u4f7f\u79bb\u5f00\u4e86\u8be5\u5757\u4e5f\u4ecd\u7136\u6709\u6548\u3002<\/h2>\n<p>\u5728\u4e86\u89e3\u4e86\u4e0a\u8ff0\u8303\u56f4\u548c\u53d8\u91cf\u7c7b\u578b\u540e\uff0c\u5173\u4e8e\u901a\u8fc7try catch\u8bed\u6cd5\u6765\u8bbf\u95eetestA.php\u4e2d\u7684$test\u53d8\u91cf\u662f\u5426\u53ef\u884c\uff0c\u5b83\u53d6\u51b3\u4e8e\u5728\u4ee3\u7801\u5757\u5185\u58f0\u660e\u7684\u53d8\u91cf\u662f\u5426\u6210\u4e3a\u5168\u5c40\u53d8\u91cf\u3002\u56e0\u6b64\uff0c\u5373\u4f7f\u5728try\u5757\u540e\u7684\u4ee3\u7801\u4e2d\u4e5f\u53ef\u4ee5\u8bbf\u95ee\u5b83\u3002\u53d8\u91cf\u662f\u5728\u51fd\u6570\u5185\u5b9a\u4e49\u7684\u8fd8\u662f\u5916\u90e8\u5b9a\u4e49\u7684\u662f\u5224\u65ad\u4f5c\u7528\u57df\u7684\u4f9d\u636e\u3002<\/p>\n<h2>\u6211\u5bf9\u6b64\u7684\u611f\u53d7<\/h2>\n<p>\u56e0\u4e3a\u6211\u5bf9\u57fa\u672c\u7684\u8303\u56f4\u7406\u89e3\u4e0d\u591f\uff0c\u6240\u4ee5\u6211\u89c9\u5f97\u6211\u662f\u51ed\u611f\u89c9\u5199\u7684\uff0c\u8bf7\u7ee7\u7eed\u5220\u9664\u5176\u4ed6\u90e8\u5206\u3002\u3002\u3002<br \/>\n\u8bf7\u8bb0\u4f4f\u4ee5\u4e0b\u4ee3\u7801\u662f\u4e0d\u5fc5\u8981\u7684\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"cp\">&lt;?php<\/span>\r\n    <span class=\"nv\">$test<\/span> <span class=\"o\">=<\/span> <span class=\"s1\">''<\/span><span class=\"p\">;<\/span>\r\n    <span class=\"k\">try<\/span> <span class=\"p\">{<\/span>\r\n      <span class=\"nv\">$test<\/span> <span class=\"o\">=<\/span> <span class=\"s1\">'test'<\/span><span class=\"p\">;<\/span>\r\n    <span class=\"p\">}<\/span> <span class=\"k\">catch<\/span><span class=\"p\">(<\/span><span class=\"nc\">Exception<\/span> <span class=\"nv\">$e<\/span><span class=\"p\">)<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"c1\">\/\/ \u4f55\u304b\u3057\u3089\u306e\u51e6\u7406<\/span>\r\n    <span class=\"p\">}<\/span>\r\n\r\n<span class=\"k\">echo<\/span> <span class=\"nv\">$test<\/span><span class=\"p\">;<\/span>\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df \u9996\u5148 \u56e0\u4e3a\u5199\u4e86PHP7\u7684try catch\u7ed3\u6784\u65f6\uff0c\u6211\u89c9\u5f97\u5bf9\u53d8\u91cf\u7684\u4f5c\u7528\u57df\u8fd8\u6ca1\u6709\u7406\u89e3\uff0c\u6240\u4ee5\u4e3a\u4e86 [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-30707","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8ePHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/php\u53d8\u91cf\u7684\u4f5c\u7528\u57df\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8ePHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/php\u53d8\u91cf\u7684\u4f5c\u7528\u57df\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-16T21:03:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T12:26:29+00:00\" \/>\n<meta name=\"author\" content=\"\u6587, \u7fd4\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6587, \u7fd4\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/\",\"name\":\"PHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-12-16T21:03:37+00:00\",\"dateModified\":\"2025-08-12T12:26:29+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c\"},\"description\":\"\u5173\u4e8ePHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c\",\"name\":\"\u6587, \u7fd4\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g\",\"caption\":\"\u6587, \u7fd4\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/wenxiang\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"PHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df - Blog - Silicon Cloud","description":"\u5173\u4e8ePHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df\u7684\u6280\u672f\u6587\u7ae0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/php\u53d8\u91cf\u7684\u4f5c\u7528\u57df\/","og_locale":"zh_CN","og_type":"article","og_title":"PHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df","og_description":"\u5173\u4e8ePHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/php\u53d8\u91cf\u7684\u4f5c\u7528\u57df\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-12-16T21:03:37+00:00","article_modified_time":"2025-08-12T12:26:29+00:00","author":"\u6587, \u7fd4","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6587, \u7fd4","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/","name":"PHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-12-16T21:03:37+00:00","dateModified":"2025-08-12T12:26:29+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c"},"description":"\u5173\u4e8ePHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"PHP\u53d8\u91cf\u7684\u4f5c\u7528\u57df"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c","name":"\u6587, \u7fd4","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g","caption":"\u6587, \u7fd4"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/wenxiang\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/php%e5%8f%98%e9%87%8f%e7%9a%84%e4%bd%9c%e7%94%a8%e5%9f%9f\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=30707"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30707\/revisions"}],"predecessor-version":[{"id":81607,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30707\/revisions\/81607"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=30707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=30707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=30707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}