{"id":23639,"date":"2017-05-25T08:33:56","date_gmt":"2017-05-24T23:33:56","guid":{"rendered":"http:\/\/www.sejuku.net\/blog\/?p=23639"},"modified":"2024-05-06T11:42:39","modified_gmt":"2024-05-06T02:42:39","slug":"%e3%80%90php%e5%85%a5%e9%96%80%e3%80%91%e9%96%a2%e6%95%b0function%e3%81%ae%e7%b5%90%e6%9e%9c%e3%82%92return%e3%81%a7%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/23639","title":{"rendered":"\u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn"},"content":{"rendered":"<p>PHP\u3067\u306fJava\u3084C\u306e\u3088\u3046\u306a\u30d6\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u540c\u69d8\u306b\u3001\u81ea\u5206\u3067\u5b9a\u7fa9\u3057\u305f\u95a2\u6570(function)\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u30fb\u95a2\u6570\u3068\u306f<br \/>\n\u30fb\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/strong><\/span><\/p>\n<p>\u3068\u3044\u3046\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3092\u89e3\u8aac\u3057\u3001<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u30fbreturn(\u8fd4\u308a\u5024)\u3068\u306f<br \/>\n\u30fbreturn\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/strong><\/span><\/p>\n<p>\u3067\u95a2\u6570\u306e\u8fd4\u308a\u5024\u306e\u6307\u5b9a\u65b9\u6cd5\u3092\u89e3\u8aac\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #ff0000; background-color: #ffff99;\"><strong>\u4eca\u56de\u306f\u305d\u3093\u306a\u95a2\u6570\u3084\u8fd4\u308a\u5024\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3001\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\uff01<\/strong><\/span><\/p>\n<h2>\u95a2\u6570\u3068\u306f<\/h2>\n<p>\u95a2\u6570\u3068\u306f\u5024\u3092\u6f14\u7b97\u3057\u305f\u308a\u3001\u6761\u4ef6\u5206\u3067\u5224\u65ad\u3057\u305f\u308a\u3001\u30c7\u30fc\u30bf\u3092\u767b\u9332\u3057\u305f\u308a\u306a\u3069\u3001<span style=\"color: #ff0000;\"><strong>\u7279\u5b9a\u306e\u52d5\u4f5c\u3092\u307e\u3068\u3081\u3066\u5165\u308c\u3066\u304a\u304f\u7bb1\u306e\u3088\u3046\u306a\u30a4\u30e1\u30fc\u30b8<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<p>PHP\u3067\u306f\u95a2\u6570\u306f\u5927\u304d\u304f\u5206\u3051\u30662\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u30fb\u7d44\u307f\u8fbc\u307f\u95a2\u6570<\/strong><br \/>\nPHP\u3067\u63d0\u4f9b\u3057\u3066\u3044\u308b\u95a2\u6570\uff08\u914d\u5217\u3092\u7d50\u5408\u3059\u308barray_merge\u95a2\u6570\u3084\u6587\u5b57\u5217\u691c\u7d22\u3092\u884c\u3046strpos\u306a\u3069\uff09\u3002<\/p>\n<p><strong>\u30fb\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570<\/strong><br \/>\n\u30e6\u30fc\u30b6\u30fc\u304c\u72ec\u81ea\u306b\u51e6\u7406\u3092\u8a18\u8ff0\u3057\u305f\u95a2\u6570\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u4e3b\u306b\u5f8c\u8005\u306e<span style=\"color: #0000ff;\"><strong>\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306f<span style=\"color: #339966;\"><strong>function<\/strong><\/span>\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u95a2\u6570\u306e\u66f8\u304d\u65b9<\/h3>\n<p><span style=\"color: #339966;\"><strong>\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\uff08function\uff09<\/strong><\/span>\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<p><strong>function\u306e\u66f8\u304d\u65b91\uff1a\u5f15\u6570\u306a\u3057<\/strong><\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">\/\/\u95a2\u6570\u306e\u5b9a\u7fa9\r\nfunction \u95a2\u6570\u540d()\r\n{\r\n  \u30fb\u30fb\u30fb\u51e6\u7406\u30fb\u30fb\u30fb\r\n}\r\n \r\n\/\/\u95a2\u6570\u306e\u547c\u51fa\u3057\r\n\u95a2\u6570\u540d();<\/pre>\n<p>\u95a2\u6570\u306e\u5b9a\u7fa9\u306f<span style=\"color: #339966;\"><strong>\u300cfunction \u95a2\u6570\u540d()\u300d<\/strong><\/span>\u306e\u5f62\u5f0f\u3067\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p>\u95a2\u6570\u306e\u547c\u51fa\u3057\u306f<span style=\"color: #339966;\"><strong>\u300c\u95a2\u6570\u540d()\u300d<\/strong><\/span>\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p><strong>function\u306e\u66f8\u304d\u65b92\uff1a\u5f15\u6570\u3042\u308a<\/strong><\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">\/\/\u95a2\u6570\u306e\u5b9a\u7fa9\r\nfunction \u95a2\u6570\u540d($\u5f15\u65701 \u2026)\r\n{\r\n  \u30fb\u30fb\u30fb\u51e6\u7406\u30fb\u30fb\u30fb\r\n}\r\n \r\n\/\/\u95a2\u6570\u306e\u547c\u51fa\u3057\r\n\u95a2\u6570\u540d($\u5f15\u65701 \u2026);<\/pre>\n<p>function\u306b\u5f15\u6570\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001\u547c\u3073\u51fa\u3059\u5074\u3067\u3082<span style=\"color: #ff0000;\"><strong>\u5f15\u6570\u306b\u5024\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/strong><\/span><\/p>\n<h2>\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/h2>\n<p>\u3053\u3053\u3067\u306f<span style=\"color: #339966;\"><strong>function<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u305f\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u5f15\u6570\u306a\u3057<\/h3>\n<p>\u307e\u305a\u306f\u5f15\u6570\u3092\u6307\u5b9a\u3057\u306a\u3044\u7c21\u5358\u306a\u95a2\u6570\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0<\/strong><\/p>\n<pre class=\"lang:php decode:true \">\/\/\u95a2\u6570\u306e\u5b9a\u7fa9\r\nfunction foo(){\r\n  echo 'samurai engineer';\r\n}\r\n\r\n\/\/\u95a2\u6570\u306e\u547c\u51fa\u3057\r\nfoo();<\/pre>\n<p><strong>\u5b9f\u884c\u7d50\u679c\uff1a<\/strong><\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">samurai engineer<\/pre>\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001<\/p>\n<p><strong>\u2460 \u95a2\u6570\u306e\u547c\u51fa\u3057\u51e6\u7406\u3067\u3042\u308bfoo()\u304c\u5b9f\u884c\u3055\u308c\u308b<br \/>\n\u2461 function foo()\u306b\u51e6\u7406\u304c\u98db\u3076<br \/>\n\u2462 function foo()\u306e\u4e2d\u306b\u8a18\u8ff0\u3057\u3066\u3044\u308b\u51e6\u7406\u304c\u5b9f\u884c\u3055\u308c\u308b<\/strong><\/p>\n<p>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u5f15\u6570\u3042\u308a<\/h3>\n<p>\u7d9a\u3051\u3066\u5f15\u6570\u3092\u6307\u5b9a\u3057\u305f\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u95a2\u6570\u306b\u5f15\u6570\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u6e21\u3055\u308c\u305f\u95a2\u6570\u306e\u5185\u90e8\u3067<span style=\"color: #0000ff;\"><strong>\u5f15\u6570\u306e\u5024\u3092\u5143\u306b\u51e6\u7406\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e01<\/strong><\/p>\n<pre class=\"lang:php decode:true \">\/\/\u95a2\u6570\u306e\u5b9a\u7fa9\r\nfunction foo($val){\r\n  echo $val + 100;\r\n}\r\n\r\n$num = 100;\r\n\r\n\/\/\u95a2\u6570\u306e\u547c\u51fa\u3057\r\nfoo($num);<\/pre>\n<p><strong>\u5b9f\u884c\u7d50\u679c\uff1a<\/strong><\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">200<\/pre>\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001<\/p>\n<p><strong>\u2460 \u95a2\u6570\u306e\u547c\u51fa\u3057\u51e6\u7406\u3067\u3042\u308bfoo($val)\u306b\u5f15\u6570$num\u3092\u6307\u5b9a\u3057\u3066\u5b9f\u884c<br \/>\n\u2461 function foo($val)\u306b\u51e6\u7406\u304c\u98db\u3076<br \/>\n\u2462 function foo($val)\u306e\u4e2d\u3067\u5f15\u6570$val\u306e\u6f14\u7b97\u7d50\u679c\u3092\u51fa\u529b\u3059\u308b<\/strong><\/p>\n<p>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u95a2\u6570\u306f<span style=\"color: #ff0000;\"><strong>\u4e00\u5ea6\u5b9a\u7fa9\u3059\u308c\u3070\u4f55\u5ea6\u3067\u3082\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u4ee5\u4e0b\u306e\u51e6\u7406\u3067\u306f\u914d\u5217\u3092\u30eb\u30fc\u30d7\u3067\u56de\u3057\u3066\u3001\u8981\u7d20\u306e\u5024\u3092\u5f15\u6570\u3068\u3057\u3066\u914d\u5217\u3092\u547c\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e02<\/strong><\/p>\n<pre class=\"lang:php decode:true \">\/\/\u95a2\u6570\u306e\u5b9a\u7fa9\r\nfunction foo($val){\r\n  echo $val.'&lt;br&gt;';\r\n}\r\n\r\n\/\/\u914d\u5217\u306e\u5b9a\u7fa9\r\n$array = [100, 200, 300];\r\n\r\nforeach ($array as $value) {\r\n\r\n  \/\/\u95a2\u6570\u306e\u547c\u51fa\u3057\r\n  foo($value);\r\n}<\/pre>\n<p><strong>\u5b9f\u884c\u7d50\u679c\uff1a<\/strong><\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">100\r\n200\r\n300<\/pre>\n<p>\u3053\u3053\u3067\u306f\u3001\u7c21\u5358\u306a\u95a2\u6570\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u304c\u3001\u3088\u308a\u5fdc\u7528\u7684\u306a\u95a2\u6570\u306e\u51e6\u7406\u306b\u3064\u3044\u3066\u3082\u77e5\u308a\u305f\u3044\u65b9\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\uff01<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/23615\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/ac3d6cb0c83875464be43f6ef592cf0c-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010PHP\u5165\u9580\u3011\u5f15\u6570\u306e\u57fa\u790e\u3092\u5b8c\u5168\u653b\u7565\u3059\u308b\uff01\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd55\u9078<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h3>\u5f15\u6570\u306e\u578b\u3092\u6307\u5b9a\u3059\u308b<\/h3>\n<p>\u95a2\u6570\u306b\u306f<span style=\"color: #0000ff;\"><strong>\u5f15\u6570\u306e\u578b\u3092\u6307\u5b9a\uff08\u30bf\u30a4\u30d7\u30d2\u30f3\u30c6\u30a3\u30f3\u30b0\uff09<\/strong><\/span>\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5f15\u6570\u306e\u578b\u3092\u6307\u5b9a\u3057\u3066\u304a\u3051\u3070\u3001\u6307\u5b9a\u3057\u305f\u578b\u4ee5\u5916\u306e\u578b\u304c\u5f15\u6570\u3067\u6e21\u3055\u308c\u305f\u3068\u304d\u306b\u30a8\u30e9\u30fc\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0<\/strong><\/p>\n<pre class=\"lang:php decode:true \">\/\/\u95a2\u6570\u306e\u5b9a\u7fa9\r\nfunction foo(Int $val){\r\n    echo $val;\r\n}\r\n\r\n\/\/\u95a2\u6570\u306e\u547c\u51fa\u3057\r\nfoo(100);\r\nfoo('test'); \/\/\u30a8\u30e9\u30fc<\/pre>\n<p>\u4e0a\u8a18\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u95a2\u6570\u3067\u5f15\u6570\u306e\u578b\u3092Int\u578b\u306b\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u3001<span style=\"color: #ff0000;\"><strong>\u5f15\u6570\u306b\u6587\u5b57\u5217\u300cfoo(&#8216;test&#8217;)\u300d\u3092\u6e21\u3059\u3068\u3001\u5f15\u6570\u306e\u578b\u306b\u4e00\u81f4\u3057\u306a\u3044<\/strong><\/span>\u305f\u3081\u3001<\/p>\n<p>\u300cFatal error: Uncaught TypeError: Argument 1 passed to foo() must be of the type integer, ~\u300d<\/p>\n<p>\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<h3>\u5f15\u6570\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u8a2d\u5b9a\u3059\u308b<\/h3>\n<p>\u95a2\u6570\u306e\u5f15\u6570\u306b\u306f<span style=\"color: #0000ff;\"><strong>\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u8a2d\u5b9a<\/strong><\/span>\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u547c\u3073\u51fa\u3057\u5143\u306b\u3088\u3063\u3066\u306fNULL\u3092\u6e21\u3057\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u3042\u308b\u3068\u304d\u306a\u3069\u306b\u3001\u3042\u3089\u304b\u3058\u3081\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304a\u3051\u3070\u3001<span style=\"color: #ff0000;\"><strong>NULL\u53c2\u7167\u306e\u30a8\u30e9\u30fc\u3092\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/strong><\/span><br \/>\n<strong><br \/>\n\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0<\/strong><\/p>\n<pre class=\"lang:php decode:true \">\/\/\u95a2\u6570\u306e\u5b9a\u7fa9\r\nfunction foo($val = 10){\r\n    echo $val.'&lt;br&gt;';\r\n}\r\n\r\n\/\/\u95a2\u6570\u306e\u547c\u51fa\u3057\r\nfoo(100); \/\/100\r\nfoo(); \/\/10<\/pre>\n<p><strong>\u5b9f\u884c\u7d50\u679c\uff1a<\/strong><\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">100\r\n10<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u304b\u3089\u5206\u304b\u308b\u3088\u3046\u306b\u95a2\u6570\u547c\u51fa\u3057\u6642\u306b\u6b63\u3057\u304f\u5024\u304c\u30bb\u30c3\u30c8\u3055\u308c\u3066\u3044\u308b\u3068\u304d\u306f\u3001<span style=\"color: #0000ff;\"><strong>\u95a2\u6570\u306e\u5b9a\u7fa9\u3067\u521d\u671f\u5316\u3057\u305f\u5024\u306f\u9069\u7528\u3055\u308c\u307e\u305b\u3093\u3002<\/strong><\/span><\/p>\n<h2>return(\u8fd4\u308a\u5024)\u3068\u306f<\/h2>\n<p>PHP\u3067\u306f\u3001\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3068\u304d\u306b<span style=\"color: #339966;\"><strong>function<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u3066\u95a2\u6570\u540d\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<p>\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u95a2\u6570\u5185\u3067<span style=\"color: #0000ff;\"><strong>\u72ec\u7acb\u3057\u305f\u51e6\u7406\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd<\/strong><\/span>\u3068\u306a\u308a\u307e\u3059\u304c\u3001\u95a2\u6570\u5185\u306e\u51e6\u7406\u7d50\u679c\u3092\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\u306f\u3001<span style=\"color: #339966;\"><strong>return<\/strong><\/span>\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066<span style=\"color: #ff0000;\"><strong>\u8fd4\u308a\u5024\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u307e\u305f\u3001\u95a2\u6570\u5185\u3067return\u3092\u6307\u5b9a\u3059\u308c\u3070\u3001\u95a2\u6570\u306e\u51e6\u7406\u306e\u9014\u4e2d\u3067\u3082\u4efb\u610f\u306e\u5834\u6240\u3067<span style=\"color: #0000ff;\"><strong>\u95a2\u6570\u3092\u547c\u3073\u51fa\u3057\u5143\u306b\u5236\u5fa1\u3092\u623b\u3059<\/strong><\/span>\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>return\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p><strong>return\u306e\u66f8\u304d\u65b9\uff1a<\/strong><\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">function \u95a2\u6570\u540d()\r\n{\r\n  \u2026\u5b9f\u884c\u51e6\u7406\u2026\r\n  return $\u8fd4\u308a\u5024;\r\n}\r\n<\/pre>\n<p>\u306a\u304a\u3001\u95a2\u6570\u3092\u9014\u4e2d\u3067\u7d42\u4e86\u3059\u308b\u5834\u5408\u306f\u3001\u8fd4\u308a\u5024\u3092\u6307\u5b9a\u305b\u305a\u306b\u4efb\u610f\u306e\u5834\u6240\u3067<span style=\"color: #0000ff;\"><strong>return\u306e\u307f\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u5236\u5fa1\u304c\u547c\u3073\u51fa\u3057\u5143\u306b\u623b\u308a\u307e\u3059\u3002<\/strong><\/span><\/p>\n<h2>return\u306e\u4f7f\u3044\u65b9<\/h2>\n<p>\u3053\u3053\u3067\u306f\u5b9f\u969b\u306b\u95a2\u6570\u306breturn\u3092\u6307\u5b9a\u3057\u3066\u95a2\u6570\u306e\u51e6\u7406\u3092\u9014\u4e2d\u3067\u7d42\u4e86\u3057\u305f\u308a\u3001\u95a2\u6570\u306e\u8fd4\u308a\u5024\u3092\u53d6\u5f97\u3059\u308b\u51e6\u7406\u306b\u3064\u3044\u3066\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u57fa\u672c\u51e6\u7406<\/h3>\n<p>\u524d\u8ff0\u3057\u305f\u3088\u3046\u306b\u95a2\u6570\u5185\u3067\u306e\u5b9f\u884c\u7d50\u679c\u3092<span style=\"color: #ff0000;\"><strong>return\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u3001\u8fd4\u308a\u5024\u3068\u3057\u3066\u53d6\u5f97<\/strong><\/span>\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306b\u76f4\u5f84\u306e\u5024\u3092\u95a2\u6570\u306e\u5f15\u6570\u306b\u6e21\u3057\u3066\u3001\u95a2\u6570\u306e\u4e2d\u3067\u5186\u5468\u306e\u9577\u3055\u3092\u8a08\u7b97\u3057\u3066\u8a08\u7b97\u7d50\u679c\u3092\u8fd4\u3059\u7c21\u5358\u306a\u30b5\u30f3\u30d7\u30eb\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e01\uff1a\u6570\u5024\u3092\u8fd4\u3059<\/strong><\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n\r\nfunction GetPI($diameter){\r\n\r\n  \/\/\u5186\u5468\u306e\u9577\u3055\u3092\u6c42\u3081\u308b\r\n  $pi = $diameter * 3.14;\r\n\r\n  \/\/\u8a08\u7b97\u7d50\u679c\u3092return\u3067\u8fd4\u3059\r\n  return $pi;\r\n}\r\n\r\n\/\/\u76f4\u5f84\u3092\u6307\u5b9a\r\n$value = 5;\r\n\r\n\/\/\u5f15\u6570\u306b\u76f4\u5f84\u306e\u5024\u3092\u6307\u5b9a\u3057\u3066\u7d50\u679c\u3092\u53d6\u5f97\u3059\u308b\r\n$sum = GetPI($value);\r\n\r\necho '\u5186\u5468\u306e\u9577\u3055 :'.$sum;\r\n\r\n?&gt;<\/pre>\n<p><strong>\u5b9f\u884c\u7d50\u679c\uff1a<\/strong><\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">\u5186\u5468\u306e\u9577\u3055 :15.7<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001\u5186\u5468\u306e\u9577\u3055\u3092\u95a2\u6570\u5185\u3067\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b\u5f15\u6570\u3067\u76f4\u5f84\u306e\u5024\u3092\u6e21\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u95a2\u6570GetPI\u3067\u306f\u5f15\u6570\u3067\u6e21\u3055\u308c\u305f\u76f4\u5f84\u306e\u5024\u3092\u5143\u306b\u5186\u5468\u306e\u9577\u3055\u3092\u8a08\u7b97\u3057\u3066\u3001\u8a08\u7b97\u7d50\u679c\u3092return\u3067\u8fd4\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u95a2\u6570\u306e\u6f14\u7b97\u7d50\u679c\u3092\u547c\u3073\u51fa\u3057\u5143\u306e\u51e6\u7406\u3067\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001<span style=\"color: #ff0000;\"><strong>return\u3092\u4f7f\u7528\u3059\u308b\u3068\u4fbf\u5229<\/strong><\/span>\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u306d\uff01<\/p>\n<p>\u307e\u305f\u3001return\u3067\u6307\u5b9a\u3059\u308b\u8fd4\u308a\u5024\u306b\u306f<span style=\"color: #ff0000;\"><strong>\u6587\u5b57\u5217\u3084\u914d\u5217\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd<\/strong><\/span>\u3067\u3059<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001\u623b\u308a\u5024\u306b\u6587\u5b57\u5217String\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e02\uff1a\u6587\u5b57\u5217\u3092\u8fd4\u3059<\/strong><\/p>\n<pre class=\"lang:php decode:true \">\/\/\u95a2\u6570\u306e\u5b9a\u7fa9\r\nfunction getString($text){\r\n\r\n  \/\/\u7d50\u5408\u3057\u305f\u6587\u5b57\u5217\u3092\u8fd4\u3059\r\n  return $text.'engineer';\r\n}\r\n\r\n\/\/\u95a2\u6570\u306e\u547c\u51fa\u3057\r\n$str = getString('samurai ');\r\n\r\necho $str;<\/pre>\n<p><strong>\u5b9f\u884c\u7d50\u679c\uff1a<\/strong><\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">samurai engineer<\/pre>\n<p>\u7d9a\u3044\u3066\u3001\u623b\u308a\u5024\u306b\u914d\u5217\u3092\u6307\u5b9a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/p>\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e02\uff1a\u914d\u5217\u3092\u8fd4\u3059<\/strong><\/p>\n<pre class=\"lang:php decode:true \">function GetFruits(){\r\n\r\n  $fruits_array = ['apple', 'orange', 'melon',\r\n                   'banana', 'pineapple'];\r\n\r\n  \/\/\u914d\u5217\u3092\u8fd4\u308a\u5024\u3068\u3057\u3066\u6307\u5b9a\u3059\u308b\r\n  return $fruits_array;\r\n}\r\n\r\n$fruits = GetFruits();\r\n\r\nprint_r($fruits);<\/pre>\n<p><strong>\u5b9f\u884c\u7d50\u679c\uff1a<\/strong><\/p>\n<pre class=\"lang:php decode:true \">Array\r\n(\r\n    [0] =&gt; apple\r\n    [1] =&gt; orange\r\n    [2] =&gt; melon\r\n    [3] =&gt; banana\r\n    [4] =&gt; pineapple\r\n)<\/pre>\n<h3>\u95a2\u6570\u306e\u9014\u4e2d\u3067\u51e6\u7406\u3092\u7d42\u4e86\u3059\u308b<\/h3>\n<p>\u95a2\u6570\u306e\u51e6\u7406\u306e\u9014\u4e2d\u3067\u95a2\u6570\u3092\u7d42\u4e86\u3059\u308b\u5834\u5408\u306f\u3001\u51e6\u7406\u3092\u623b\u3057\u305f\u3044\u7b87\u6240\u3067<span style=\"color: #0000ff;\"><strong>return\u306e\u307f\u6307\u5b9a<\/strong><\/span>\u3059\u308b\u3053\u3068\u3067\u95a2\u6570\u304c\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306breturn\u3092\u6307\u5b9a\u3057\u3066\u51e6\u7406\u3092\u7d42\u4e86\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\uff1a<\/strong><\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n\r\nfunction foo($val){\r\n\r\n  if ($val &lt; 20){\r\n    echo '\u95a2\u6570\u306e\u51e6\u7406\u3092\u7d42\u4e86\u3059\u308b&lt;br&gt;';\r\n    return;\r\n  }\r\n  echo $val;\r\n}\r\n\r\n$value = 10;\r\nfoo($value);\r\n\r\necho '\u30d7\u30ed\u30b0\u30e9\u30e0\u7d42\u4e86';\r\n\r\n?&gt;\r\n<\/pre>\n<p><strong>\u5b9f\u884c\u7d50\u679c\uff1a<\/strong><\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">\u95a2\u6570\u306e\u51e6\u7406\u3092\u7d42\u4e86\u3059\u308b\r\n\u30d7\u30ed\u30b0\u30e9\u30e0\u7d42\u4e86\r\n<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u502410\u3092\u6307\u5b9a\u3057\u305f\u5909\u6570\u3092\u95a2\u6570foo\u306b\u6e21\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u95a2\u6570\u306e\u4e2d\u3067\u306fif\u6587\u3067\u6e21\u3055\u308c\u305f\u5024\u3088\u308a20\u306e\u307b\u3046\u304c\u5927\u304d\u304b\u3063\u305f\u3089\u3001<span style=\"color: #0000ff;\"><strong>if\u6587\u5185\u3067return\u3092\u6307\u5b9a\u3057\u3066\u95a2\u6570\u306e\u51e6\u7406\u3092\u7d42\u4e86<\/strong><\/span>\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001if\u6587\u306e\u5f8c\u306e\u51e6\u7406\u3067\u3042\u308b<span style=\"color: #0000ff;\"><strong>\u300cecho $val\u300d\u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/strong><\/span><\/p>\n<h3>\u771f\u507d\u5024\u3092\u6307\u5b9a\u3059\u308b<\/h3>\n<p>\u95a2\u6570\u306e\u8fd4\u308a\u5024\u306b\u306f<span style=\"color: #339966;\"><strong>\u771f\u507d\u5024\uff08bool\u578b\uff09<\/strong><\/span>\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u95a2\u6570\u5185\u3067\u6307\u5b9a\u3057\u305f\u5024\u304c\u5b58\u5728\u3057\u305f\u5834\u5408\u306f<span style=\"color: #339966;\"><strong>TRUE<\/strong><\/span>\u3092\u3001\u5b58\u5728\u3057\u306a\u304b\u3063\u305f\u3089<span style=\"color: #339966;\"><strong>FALSE<\/strong><\/span>\u3092\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\u306b<span style=\"color: #0000ff;\"><strong>return\u3067\u771f\u507d\u5024\u306e\u5024\u3092\u6307\u5b9a<\/strong><\/span>\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306b\u6307\u5b9a\u3057\u305f\u5024\u306e\u5b58\u5728\u6709\u7121\u306e\u7d50\u679c\u3067\u771f\u507d\u5024\u3092\u8fd4\u3059\u65b9\u6cd5\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\uff1a<\/strong><\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n\r\nfunction fruits($array, $search){\r\n\r\n  if (in_array($search, $array)){\r\n    \/\/\u6307\u5b9a\u3057\u305f\u5024\u304c\u5b58\u5728\u3057\u305f\u3089true\u3092\u8fd4\u3059\r\n    return true;\r\n  }\r\n  else{\r\n    \/\/\u6307\u5b9a\u3057\u305f\u5024\u304c\u5b58\u5728\u3057\u306a\u304b\u3063\u305f\u3089false\u3092\u8fd4\u3059\r\n    return false;\r\n  }\r\n  echo '&lt;br&gt;';\r\n}\r\n\r\n$fruits_array = ['apple', 'orange', 'melon', 'banana', 'pineapple'];\r\n\r\n$fruits1 = 'orange';\r\n\r\n\/\/\u95a2\u6570\u306e\u7d50\u679c\u304ctrue\u306e\u5834\u5408\u306fif\u6587\u306e\u51e6\u7406\u3092\u5b9f\u884c\u3059\u308b\r\nif (fruits($fruits_array, $fruits1)){\r\n  echo $fruits1.'\u306f\u5b58\u5728\u3057\u307e\u3059\u3002';\r\n}\r\n\r\n?&gt;\r\n<\/pre>\n<p><strong>\u5b9f\u884c\u7d50\u679c\uff1a<\/strong><\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">orange\u306f\u5b58\u5728\u3057\u307e\u3059\u3002\r\n<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u95a2\u6570fruits\u306b\u5f15\u6570\u3067\u914d\u5217\u3068\u691c\u7d22\u3059\u308b\u5024\u3092if\u6587\u306e\u4e2d\u3067\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u95a2\u6570\u306e\u51e6\u7406\u3067\u306f\u3001\u6e21\u3055\u308c\u305f\u5f15\u6570\u306e\u914d\u5217\u306b\u6307\u5b9a\u3057\u305f\u5024\u304c\u5b58\u5728\u3059\u308b\u304bif\u6587\u3067<span style=\"color: #339966;\"><strong>in_array<\/strong><\/span>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u30c1\u30a7\u30c3\u30af\u3057\u3001<span style=\"color: #0000ff;\"><strong>\u5b58\u5728\u3057\u305f\u3089true\u3092\u3001\u5b58\u5728\u3057\u306a\u304b\u3063\u305f\u3089false\u3092\u8fd4\u3057\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>if\u6587\u306f\u8a55\u4fa1\u304ctrue\u306e\u5834\u5408if\u6587\u5185\u306e\u51e6\u7406\u3092\u5b9f\u884c\u3057\u307e\u3059\u306e\u3067\u3001<span style=\"color: #0000ff;\"><strong>\u95a2\u6570\u547c\u3073\u51fa\u3057\u5143\u306e\u51e6\u7406\u7d50\u679c\u304ctrue<\/strong><\/span>\u306e\u305f\u3081if\u6587\u306e\u51e6\u7406\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>in_array\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u3082\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\uff01<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/27757\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/image-53-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010PHP\u5165\u9580\u3011in_array\u3067\u6307\u5b9a\u3057\u305f\u5024\u304c\u914d\u5217\u306b\u5b58\u5728\u3059\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u3088\u3046\uff01<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            <\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u3053\u3067\u306f\u3001PHP\u3067\u306e\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\uff08function\uff09\u3084\u8fd4\u308a\u5024\uff08return\uff09\u306b\u3064\u3044\u3066\u3001<\/p>\n<p><strong>\u30fb\u95a2\u6570\u3068\u306f\uff1f<br \/>\n\u30fb\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<br \/>\n\u30fb\u8fd4\u308a\u5024(return)\u3068\u306f<br \/>\n\u30fbreturn\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/strong><\/p>\n<p>\u306a\u3069\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u95a2\u6570\u306e\u51e6\u7406\u3084\u51e6\u7406\u7d50\u679c\u3092return\u3067\u53d6\u5f97\u3059\u308b\u3053\u3068\u306f\u3088\u304f\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3053\u306e\u6a5f\u4f1a\u306b\u899a\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/strong><\/span><\/p>\n<p>function\u3084return\u306e\u4f7f\u3044\u65b9\u3092\u5fd8\u308c\u3066\u3057\u307e\u3063\u305f\u3089\u3001\u3053\u306e\u8a18\u4e8b\u3092\u601d\u3044\u51fa\u3057\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u3067\u306fJava\u3084C\u306e\u3088\u3046\u306a\u30d6\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u540c\u69d8\u306b\u3001\u81ea\u5206\u3067\u5b9a\u7fa9\u3057\u305f\u95a2\u6570(function)\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001 \u30fb\u95a2\u6570\u3068\u306f \u30fb\u95a2\u6570\u306e\u4f7f\u3044\u65b9 \u3068\u3044\u3046\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3092\u89e3\u8aac\u3057\u3001 \u30fbreturn( [&hellip;]<\/p>\n","protected":false},"author":16433,"featured_media":35324,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2348],"tags":[38],"class_list":["post-23639","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php-study","tag-php"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\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.sejuku.net\/blog\/23639\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/23639\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-24T23:33:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:42:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/image-116.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23639#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23639\"},\"author\":{\"name\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/d20c57b59dba15001519a8a671183095\"},\"headline\":\"\u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn\",\"datePublished\":\"2017-05-24T23:33:56+00:00\",\"dateModified\":\"2024-05-06T02:42:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23639\"},\"wordCount\":122,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23639#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/image-116.jpg\",\"keywords\":[\"PHP\"],\"articleSection\":[\"PHP\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23639\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23639\",\"name\":\"\u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23639#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23639#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/image-116.jpg\",\"datePublished\":\"2017-05-24T23:33:56+00:00\",\"dateModified\":\"2024-05-06T02:42:39+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23639#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23639\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23639#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/image-116.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/image-116.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/23639#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/d20c57b59dba15001519a8a671183095\",\"name\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\"},\"description\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u587e\u306f\u300c\u4eba\u751f\u3092\u5909\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u300d\u3092\u30b3\u30f3\u30bb\u30f3\u30d7\u30c8\u306b\u3001\u904e\u53bb\u591a\u304f\u306e\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u8f29\u51fa\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\u3067\u306f\u6280\u8853\u7cfb\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e2d\u5fc3\u306b\u6709\u7528\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u304d\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-tech\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","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.sejuku.net\/blog\/23639","og_locale":"ja_JP","og_type":"article","og_title":"\u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/23639","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_published_time":"2017-05-24T23:33:56+00:00","article_modified_time":"2024-05-06T02:42:39+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/image-116.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/23639#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/23639"},"author":{"name":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/d20c57b59dba15001519a8a671183095"},"headline":"\u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn","datePublished":"2017-05-24T23:33:56+00:00","dateModified":"2024-05-06T02:42:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/23639"},"wordCount":122,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/23639#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/image-116.jpg","keywords":["PHP"],"articleSection":["PHP\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/23639","url":"https:\/\/www.sejuku.net\/blog\/23639","name":"\u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/23639#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/23639#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/image-116.jpg","datePublished":"2017-05-24T23:33:56+00:00","dateModified":"2024-05-06T02:42:39+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/23639#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/23639"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/23639#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/image-116.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/image-116.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/23639#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010PHP\u8d85\u5165\u9580\u3011\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e | function\u30fbreturn"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/d20c57b59dba15001519a8a671183095","name":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","caption":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8"},"description":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u587e\u306f\u300c\u4eba\u751f\u3092\u5909\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u300d\u3092\u30b3\u30f3\u30bb\u30f3\u30d7\u30c8\u306b\u3001\u904e\u53bb\u591a\u304f\u306e\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u8f29\u51fa\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\u3067\u306f\u6280\u8853\u7cfb\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e2d\u5fc3\u306b\u6709\u7528\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u304d\u307e\u3059\u3002","url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-tech"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/23639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/16433"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=23639"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/23639\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/35324"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=23639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=23639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=23639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}