{"id":119925,"date":"2024-03-23T20:25:42","date_gmt":"2024-03-23T11:25:42","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/"},"modified":"2024-03-27T04:30:43","modified_gmt":"2024-03-26T19:30:43","slug":"php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/","title":{"rendered":"PHP\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u5b9f\u88c5\u3059\u308b\u306b\u306f"},"content":{"rendered":"<p>PHP\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u5b9f\u88c5\uff1a<\/p>\n<p>\u30d5\u30a1\u30af\u30c8\u30ea\u30e1\u30bd\u30c3\u30c9\u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u30d5\u30a1\u30af\u30c8\u30ea\u30af\u30e9\u30b9\u3067\u5225\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u3066\u8fd4\u3059\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u306e\u4e00\u822c\u7684\u306a\u8a2d\u8a08\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092new\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u76f4\u63a5\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u4ee5\u4e0b\u306b\u3001PHP\u3067\u306e\u30d5\u30a1\u30af\u30c8\u30ea\u30e1\u30bd\u30c3\u30c9\u30d1\u30bf\u30fc\u30f3\u306e\u5358\u7d14\u306a\u5b9f\u88c5\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-meta\">&lt;?php<\/span>\r\n<span class=\"hljs-comment\">\/\/ \u5b9a\u4e49\u4e00\u4e2a\u63a5\u53e3<\/span>\r\n<span class=\"hljs-class\"><span class=\"hljs-keyword\">interface<\/span> <span class=\"hljs-title\">Shape<\/span> <\/span>{\r\n<span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">draw<\/span>()<\/span>;\r\n}\r\n<span class=\"hljs-comment\">\/\/ \u5b9e\u73b0\u63a5\u53e3\u7684\u5177\u4f53\u7c7b<\/span>\r\n<span class=\"hljs-class\"><span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title\">Circle<\/span> <span class=\"hljs-keyword\">implements<\/span> <span class=\"hljs-title\">Shape<\/span> <\/span>{\r\n<span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">draw<\/span>() <\/span>{\r\n<span class=\"hljs-keyword\">echo<\/span> <span class=\"hljs-string\">\"Drawing a circle\\n\"<\/span>;\r\n}\r\n}\r\n<span class=\"hljs-class\"><span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title\">Square<\/span> <span class=\"hljs-keyword\">implements<\/span> <span class=\"hljs-title\">Shape<\/span> <\/span>{\r\n<span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">draw<\/span>() <\/span>{\r\n<span class=\"hljs-keyword\">echo<\/span> <span class=\"hljs-string\">\"Drawing a square\\n\"<\/span>;\r\n}\r\n}\r\n<span class=\"hljs-comment\">\/\/ \u5b9a\u4e49\u4e00\u4e2a\u5de5\u5382\u7c7b<\/span>\r\n<span class=\"hljs-class\"><span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title\">ShapeFactory<\/span> <\/span>{\r\n<span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-built_in\">static<\/span> <span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">createShape<\/span>(<span class=\"hljs-params\"><span class=\"hljs-variable\">$type<\/span><\/span>) <\/span>{\r\n<span class=\"hljs-keyword\">switch<\/span> (<span class=\"hljs-variable\">$type<\/span>) {\r\n<span class=\"hljs-keyword\">case<\/span> <span class=\"hljs-string\">'circle'<\/span>:\r\n<span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-title class_\">Circle<\/span>();\r\n<span class=\"hljs-keyword\">case<\/span> <span class=\"hljs-string\">'square'<\/span>:\r\n<span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-title class_\">Square<\/span>();\r\n<span class=\"hljs-keyword\">default<\/span>:\r\n<span class=\"hljs-keyword\">throw<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">Exception<\/span>(<span class=\"hljs-string\">\"Unsupported shape type: <span class=\"hljs-subst\">$type<\/span>\"<\/span>);\r\n}\r\n}\r\n}\r\n<span class=\"hljs-comment\">\/\/ \u4f7f\u7528\u5de5\u5382\u7c7b\u521b\u5efa\u5bf9\u8c61<\/span>\r\n<span class=\"hljs-variable\">$circle<\/span> = <span class=\"hljs-title class_\">ShapeFactory<\/span>::<span class=\"hljs-title function_ invoke__\">createShape<\/span>(<span class=\"hljs-string\">'circle'<\/span>);\r\n<span class=\"hljs-variable\">$circle<\/span>-&gt;<span class=\"hljs-title function_ invoke__\">draw<\/span>(); <span class=\"hljs-comment\">\/\/ \u8f93\u51fa \"Drawing a circle\"<\/span>\r\n<span class=\"hljs-variable\">$square<\/span> = <span class=\"hljs-title class_\">ShapeFactory<\/span>::<span class=\"hljs-title function_ invoke__\">createShape<\/span>(<span class=\"hljs-string\">'square'<\/span>);\r\n<span class=\"hljs-variable\">$square<\/span>-&gt;<span class=\"hljs-title function_ invoke__\">draw<\/span>(); <span class=\"hljs-comment\">\/\/ \u8f93\u51fa \"Drawing a square\"<\/span>\r\n<\/code><\/pre>\n<p>\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\u30f3\u306e\u5b9f\u88c5\uff1a<\/p>\n<p>\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\u30f3\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u8a2d\u8a08\u3067\u3088\u304f\u4f7f\u308f\u308c\u308b\u30d1\u30bf\u30fc\u30f3\u3067\u3001\u30af\u30e9\u30b9\u306b\u5358\u4e00\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u3042\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u3001\u305d\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3078\u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u306a\u30a2\u30af\u30bb\u30b9\u3092\u63d0\u4f9b\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u3001PHP\u306b\u3088\u308b\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u306e\u7c21\u5358\u306a\u5b9f\u88c5\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-meta\">&lt;?php<\/span>\r\n<span class=\"hljs-class\"><span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title\">Database<\/span> <\/span>{\r\n<span class=\"hljs-keyword\">private<\/span> <span class=\"hljs-built_in\">static<\/span> <span class=\"hljs-variable\">$instance<\/span>;\r\n<span class=\"hljs-keyword\">private<\/span> <span class=\"hljs-variable\">$connection<\/span>;\r\n<span class=\"hljs-keyword\">private<\/span> <span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">__construct<\/span>() <\/span>{\r\n<span class=\"hljs-comment\">\/\/ \u79c1\u6709\u6784\u9020\u51fd\u6570\uff0c\u9632\u6b62\u901a\u8fc7new\u5173\u952e\u5b57\u5b9e\u4f8b\u5316\u7c7b<\/span>\r\n<span class=\"hljs-variable language_\">$this<\/span>-&gt;connection = <span class=\"hljs-title function_ invoke__\">mysqli_connect<\/span>(<span class=\"hljs-string\">'localhost'<\/span>, <span class=\"hljs-string\">'username'<\/span>, <span class=\"hljs-string\">'password'<\/span>, <span class=\"hljs-string\">'database'<\/span>);\r\n}\r\n<span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-built_in\">static<\/span> <span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">getInstance<\/span>() <\/span>{\r\n<span class=\"hljs-keyword\">if<\/span> (!<span class=\"hljs-built_in\">self<\/span>::<span class=\"hljs-variable\">$instance<\/span>) {\r\n<span class=\"hljs-built_in\">self<\/span>::<span class=\"hljs-variable\">$instance<\/span> = <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-title class_\">Database<\/span>();\r\n}\r\n<span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-built_in\">self<\/span>::<span class=\"hljs-variable\">$instance<\/span>;\r\n}\r\n<span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">getConnection<\/span>() <\/span>{\r\n<span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-variable language_\">$this<\/span>-&gt;connection;\r\n}\r\n}\r\n<span class=\"hljs-comment\">\/\/ \u4f7f\u7528\u5355\u4f8b\u7c7b\u83b7\u53d6\u6570\u636e\u5e93\u8fde\u63a5<\/span>\r\n<span class=\"hljs-variable\">$db<\/span> = <span class=\"hljs-title class_\">Database<\/span>::<span class=\"hljs-title function_ invoke__\">getInstance<\/span>();\r\n<span class=\"hljs-variable\">$connection<\/span> = <span class=\"hljs-variable\">$db<\/span>-&gt;<span class=\"hljs-title function_ invoke__\">getConnection<\/span>();\r\n<span class=\"hljs-comment\">\/\/ \u4f7f\u7528$connection\u8fdb\u884c\u6570\u636e\u5e93\u64cd\u4f5c<\/span>\r\n<\/code><\/pre>\n<p>\u4e0a\u306e\u4f8b\u3067\u306f\u3001Database\u30af\u30e9\u30b9\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306f\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u306e\u3067\u3001new\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u76f4\u63a5\u30af\u30e9\u30b9\u3092\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002getInstance()\u30e1\u30bd\u30c3\u30c9\u306b\u3088\u308a\u30af\u30e9\u30b9\u306e\u552f\u4e00\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u53d6\u5f97\u3057\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u5b58\u5728\u3057\u306a\u3051\u308c\u3070\u65b0\u898f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u3066\u8fd4\u3057\u307e\u3059\u3002\u305d\u3046\u3067\u306a\u3051\u308c\u3070\u3001\u65e2\u5b58\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u76f4\u63a5\u8fd4\u3057\u307e\u3059\u3002getConnection()\u30e1\u30bd\u30c3\u30c9\u306b\u3088\u308a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3057\u3001\u3053\u306e\u63a5\u7d9a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u64cd\u4f5c\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u5b9f\u88c5\uff1a \u30d5\u30a1\u30af\u30c8\u30ea\u30e1\u30bd\u30c3\u30c9\u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u30d5\u30a1\u30af\u30c8\u30ea\u30af\u30e9\u30b9\u3067\u5225\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u3066\u8fd4\u3059\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u306e\u4e00\u822c\u7684\u306a\u8a2d\u8a08\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092new\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u76f4\u63a5\u30a4\u30f3\u30b9 [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-119925","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"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\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u5b9f\u88c5\u3059\u308b\u306b\u306f - Blog - Silicon Cloud<\/title>\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\/ja\/blog\/php\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u5b9f\u88c5\u3059\u308b\u306b\u306f\" \/>\n<meta property=\"og:description\" content=\"PHP\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u5b9f\u88c5\uff1a \u30d5\u30a1\u30af\u30c8\u30ea\u30e1\u30bd\u30c3\u30c9\u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u30d5\u30a1\u30af\u30c8\u30ea\u30af\u30e9\u30b9\u3067\u5225\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u3066\u8fd4\u3059\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u306e\u4e00\u822c\u7684\u306a\u8a2d\u8a08\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092new\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u76f4\u63a5\u30a4\u30f3\u30b9 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/php\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-23T11:25:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-26T19:30:43+00:00\" \/>\n<meta name=\"author\" content=\"\u5149, \u660e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5149, \u660e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\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\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/\",\"name\":\"PHP\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u5b9f\u88c5\u3059\u308b\u306b\u306f - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-23T11:25:42+00:00\",\"dateModified\":\"2024-03-26T19:30:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u5b9f\u88c5\u3059\u308b\u306b\u306f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\",\"name\":\"\u5149, \u660e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"caption\":\"\u5149, \u660e\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"PHP\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u5b9f\u88c5\u3059\u308b\u306b\u306f - Blog - Silicon Cloud","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\/ja\/blog\/php\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\/","og_locale":"ja_JP","og_type":"article","og_title":"PHP\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u5b9f\u88c5\u3059\u308b\u306b\u306f","og_description":"PHP\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u5b9f\u88c5\uff1a \u30d5\u30a1\u30af\u30c8\u30ea\u30e1\u30bd\u30c3\u30c9\u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u30d5\u30a1\u30af\u30c8\u30ea\u30af\u30e9\u30b9\u3067\u5225\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u3066\u8fd4\u3059\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u306e\u4e00\u822c\u7684\u306a\u8a2d\u8a08\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092new\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u76f4\u63a5\u30a4\u30f3\u30b9 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/php\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-23T11:25:42+00:00","article_modified_time":"2024-03-26T19:30:43+00:00","author":"\u5149, \u660e","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u5149, \u660e","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/","name":"PHP\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u5b9f\u88c5\u3059\u308b\u306b\u306f - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-23T11:25:42+00:00","dateModified":"2024-03-26T19:30:43+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"PHP\u3067\u30d5\u30a1\u30af\u30c8\u30ea\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u5b9f\u88c5\u3059\u308b\u306b\u306f"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55","name":"\u5149, \u660e","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","caption":"\u5149, \u660e"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%a7%e3%83%95%e3%82%a1%e3%82%af%e3%83%88%e3%83%aa%e3%83%bc%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e3%81%a8%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%83%88%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/119925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=119925"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/119925\/revisions"}],"predecessor-version":[{"id":173770,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/119925\/revisions\/173770"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=119925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=119925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=119925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}