
{"id":7416,"date":"2023-09-15T01:00:00","date_gmt":"2023-09-14T16:00:00","guid":{"rendered":"https:\/\/tetraup.com\/news_topics\/archives\/7416"},"modified":"2024-09-01T17:17:27","modified_gmt":"2024-09-01T08:17:27","slug":"php-part6","status":"publish","type":"post","link":"https:\/\/tetraup.com\/news_topics\/column\/php-part6\/","title":{"rendered":"\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3082\u77e5\u3089\u306a\u3044\u3068\u30e4\u30d0\u30a4PHP\u3000Part6\u301c\u30c7\u30fc\u30bf\u578b\u3092\u7406\u89e3\u3057\u3088\u3046\u301c"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"700\" src=\"https:\/\/tetraup.com\/news_topics\/wp-content\/uploads\/2023\/09\/\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3082\u77e5\u3089\u306a\u3044\u3068\u30e4\u30d0\u30a4PHP_Part6.jpg\" alt=\"\" class=\"wp-image-9036\"\/><\/figure>\n\n\n\n<p><a href=\"https:\/\/tetraup.com\/news_topics\/column\/php-part5\/\" title=\"\">\u524d\u56de<\/a>\u306f\u81ea\u5206\u3067\u66f8\u3044\u305fPHP\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30d6\u30e9\u30a6\u30b6\u306b\u8868\u793a\u3055\u305b\u308b\u3068\u3053\u308d\u307e\u3067\u5b9f\u884c\u3057\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u30c7\u30fc\u30bf\u578b\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u300c\u30c7\u30fc\u30bf\u578b\u300d\u3068\u306f\u4f55\u304b<\/h2>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u3055\u3063\u305d\u304f\u300c\u30c7\u30fc\u30bf\u578b\u300d\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u304a\u3051\u308b\u300c\u30c7\u30fc\u30bf\u578b\u300d\u3068\u306f\u3001<span style=\"color:blue;\"><strong>\u6271\u3046\u30c7\u30fc\u30bf\u3092\u3044\u304f\u3064\u304b\u306e\u7a2e\u985e\u306b\u5206\u985e<\/strong><\/span>\u3057\u3066\u3001\u5404\u3005\u306b\u3064\u3044\u3066<span style=\"color:blue;\"><strong>\u300c\u540d\u79f0\u300d\u300c\u7279\u6027\u300d\u300c\u7bc4\u56f2\u300d\u300c\u6271\u3044\u65b9\u300d\u300c\u8868\u8a18\u65b9\u6cd5\u300d\u300c\u30e1\u30e2\u30ea\u4e0a\u3067\u306e\u8a18\u9332\u65b9\u6cd5\u300d\u306a\u3069\u306e\u3001\u898f\u7d04\u3092\u5b9a\u3081\u305f\u3082\u306e<\/strong><\/span>\u3067\u3059\u3002\u6271\u3046\u30c7\u30fc\u30bf\u3092\u5206\u985e\u3059\u308b\u3053\u3068\u3067\u3001\u5206\u985e\u3057\u305f<span style=\"color:blue;\"><strong>\u30c7\u30fc\u30bf\u3092\u9069\u5207\u306b\u7ba1\u7406\u3057\u305f\u308a\u3001\u5e0c\u671b\u3059\u308b\u30c7\u30fc\u30bf\u3092\u63a2\u3057\u3084\u3059\u304f\u306a\u308b<\/strong><\/span>\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<br>\u4f8b\u3048\u3070\u300c\u96fb\u8a71\u756a\u53f7\u306e\u5165\u529b\u6b04\u300d\u306b\u6587\u5b57\u3084\u5c0f\u6570\u70b9\u304c\u5165\u3063\u3066\u3044\u305f\u3089\u3001\u9069\u5207\u306a\u7ba1\u7406\u304c\u3067\u304d\u306a\u304f\u306a\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u300211\u6841\uff08+81\u304b\u3089\u59cb\u307e\u308b\u5834\u5408\u306f\u3082\u30462\u6841\u5897\u3048\u307e\u3059\uff09\u306e\u6574\u6570\u304c\u5165\u3063\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u306d\u3002\u3053\u306e\u69d8\u306a\u6761\u4ef6\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\u306b\u3082\u3001\u30c7\u30fc\u30bf\u578b\u306f\u5f79\u306b\u7acb\u3061\u307e\u3059\u3002<br>\u4e3b\u306a\u30c7\u30fc\u30bf\u578b\u3068\u3057\u3066\u3001\u4eca\u56de\u306f\u4ee5\u4e0b\u306e7\u3064\u3092\u3054\u7d39\u4ecb\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6574\u6570\u578b\uff08integer\uff09<\/li>\n\n\n\n<li>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\uff08float\uff09<\/li>\n\n\n\n<li>\u6587\u5b57\u5217\u578b\uff08string\uff09<\/li>\n\n\n\n<li>\u8ad6\u7406\u578b\uff08bool\u3001boolean\uff09<\/li>\n\n\n\n<li>\u914d\u5217\u578b\uff08array\uff09<\/li>\n\n\n\n<li>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\uff08object\uff09<\/li>\n\n\n\n<li>NULL\u578b\uff08null\uff09<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u6574\u6570\u578b\uff08integer\uff09\u3068\u306f<\/h2>\n\n\n\n<p>\u4e00\u756a\u306a\u3058\u307f\u3084\u3059\u3044\u30c7\u30fc\u30bf\u578b\u3068\u3057\u3066\u3001\u6700\u521d\u306b\u6574\u6570\u578b\uff08integer\uff09\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<br>\u6574\u6570\u578b\u306f\u300c\u2026\u3001-4\u3001-3\u3001-2\u3001-1\u30010\u30011\u30012\u30013\u30014\u3001\u2026\u300d\u3068<span style=\"color:blue\"><strong>\u300c\u6b63\u306e\u6574\u6570\u300d\u300c\u8ca0\u306e\u6574\u6570\u300d\u300c0\u300d\u304c\u8a72\u5f53<\/strong><\/span>\u3057\u307e\u3059\u3002<br>\u4f59\u8ac7\u3067\u3059\u304c\u3001\u3053\u306einteger\uff08\u6574\u6570\uff09\u3068\u3044\u3046\u5358\u8a9e\u2026\u7b46\u8005\u306f\u300c\u9ad8\u6821\u6570\u5b66\u3067\u5b66\u7fd2\u3057\u305f\u7a4d\u5206\u306e\u30a4\u30f3\u30c6\u30b0\u30e9\u30eb\uff08\u222e\uff1aintegral\uff09\u3068\u767a\u97f3\u304c\u4f3c\u3066\u308b\u306a\u2026\u300d\u3068\u611f\u3058\u3066\u3044\u307e\u3057\u305f\u3002<br>\u8abf\u3079\u3066\u307f\u305f\u3068\u3053\u308d\u3001\u3044\u305a\u308c\u3082\u8a9e\u6e90\u306f\u540c\u3058\u69d8\u3067\u3057\u3066\u3001\u30e9\u30c6\u30f3\u8a9e\u306e\u3000integr-\uff08\u5b8c\u5168\u306a\uff09\u304b\u3089\u6765\u3066\u3044\u308b\u69d8\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\uff08float\uff09\u3068\u306f<\/h2>\n\n\n\n<p><span style=\"color:blue\"><strong>\u300c\u5c11\u6570\u70b9\u4ee5\u4e0b\u306e\u6570\u3092\u542b\u3080\u6570\u300d<\/strong><\/span>\u304c\u3053\u3061\u3089\u306b\u8a72\u5f53\u3057\u307e\u3059\u3002<br>\u5177\u4f53\u7684\u306b\u306f\u300c1.3\u300120.67\u300d\u306a\u3069\u306e\u5c0f\u6570\u70b9\u3092\u542b\u3080\u6570\u5b57\u304c\u8a72\u5f53\u3057\u307e\u3059\u3002<br>\u3061\u306a\u307f\u306b\u3001PHP\u3067\u306f\u5c11\u6570\u306e\u53d6\u308a\u6271\u3044\u304c\u3042\u307e\u308a\u5f97\u610f\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3068\u3044\u3046\u306e\u3082\u3001\u5c11\u6570\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u6841\u6570\u306b\u9650\u308a\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002<br>\u4f8b\u3048\u3070\u300c0.333333\u2026\u300d\u306e\u69d8\u306a\u7121\u9650\u5c0f\u6570\u306f\u7ba1\u7406\u3057\u304d\u308c\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u5c0f\u6570\u540c\u58eb\u306e\u8a08\u7b97\u3092\u91cd\u306d\u3066\u3044\u304f\u3068\u7d30\u304b\u3044\u8aa4\u5dee\u304c\u51fa\u3066\u304d\u307e\u3059\u3002<br>\u6841\u6570\u304c\u6c7a\u307e\u3063\u3066\u3044\u308b\u5c11\u6570\u306e\u8a08\u7b97\u306e\u5834\u5408\u3001\u5148\u306b\u6574\u6570\uff08\u4f8b\u3048\u30701,000\u500d\u306b\u3059\u308b\u306a\u3069\uff09\u306b\u5909\u63db\u3057\u3066\u8a08\u7b97\u3092\u884c\u306a\u3063\u3066\u304b\u3089\u3001\u5b9f\u969b\u306e\u5c0f\u6570\u306b\u8a08\u7b97\u3057\u306a\u304a\u3059\uff08\u8a08\u7b97\u306e\u6700\u5f8c\u306b1\/1,000\u306b\u3059\u308b\uff09\u306a\u3069\u306e\u5de5\u592b\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6587\u5b57\u5217\u578b\uff08string\uff09\u3068\u306f<\/h2>\n\n\n\n<p><span style=\"color:blue\"><strong>\u300c\u6587\u5b57\u3001\u307e\u305f\u306f\u6587\u5b57\u304c\u9023\u7d50\u3055\u308c\u305f\u3082\u306e\u300d<\/strong><\/span>\u3092\u3055\u3057\u307e\u3059\u3002\u6587\u5b57\u5217\u578b\u3092\u4f7f\u3046\u5834\u5408\u300c<strong><code>'<\/code><\/strong>\uff08\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8\uff09\u300d\u307e\u305f\u306f\u300c<strong><code>\"<\/code><\/strong>\uff08\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c8\uff09\u300d\u3067\u56f2\u3044\u307e\u3059\u3002<br>\u4ee5\u524d<a href=\"https:\/\/tetraup.com\/news_topics\/column\/php-part4\/\" title=\"\">Part4<\/a>\u3067\u3054\u7d39\u4ecb\u3057\u305f\u3001<code>\"\u5c71\u7530\u592a\u90ce\"<\/code> <code>\"\u5c71\u7530\u82b1\u5b50\"<\/code>\u306a\u3069\u304c\u6587\u5b57\u5217\u306b\u3042\u305f\u308a\u307e\u3059\u3002\u3061\u306a\u307f\u306b\u3001\u6574\u6570\u578b\u3084\u4e0d\u52d5\u5c0f\u6570\u70b9\u6570\u578b\u3082\u300c<code>'<\/code>\u300d\u3084\u300c<code>\"<\/code>\u300d\u3067\u56f2\u3046\u3068\u6587\u5b57\u5217\u578b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8ad6\u7406\u578b\uff08bool\u3001boolean\uff09\u3068\u306f<\/h2>\n\n\n\n<p>\u578b\u3068\u3057\u3066\u306f\u6700\u3082\u9078\u629e\u80a2\u306e\u5c11\u306a\u3044\u7c21\u5358\u306a\u578b\u3068\u3082\u3044\u3048\u307e\u3059\u3002\u8ad6\u7406\u578b\u306f\u771f\u507d\u306e\u5024\u3092\u8868\u3057\u307e\u3059\u3002\u3064\u307e\u308a<strong><span style=\"color:blue\">\u300ctrue\uff08\u771f\uff09\u300d\u307e\u305f\u306f\u300cfalse\uff08\u507d\uff09\u300d\u306e\u3069\u3061\u3089\u304b<\/span><\/strong>\u306b\u306a\u308a\u307e\u3059\u3002<br>\u3053\u306e\u8ad6\u7406\u578b\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u300c\u6761\u4ef6\u5206\u5c90\u300d\u306b\u304a\u3044\u3066\u3088\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002\u300c\u3042\u308b\u6761\u4ef6\u304c\u5f53\u3066\u306f\u307e\u308b\u3068\u304d\u306fA\u3001\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306fB\u300d\u3068\u8a00\u3063\u305f\u3082\u306e\u3067\u3059\u306d\u3002<br>\u4ee3\u8868\u7684\u306a\u3082\u306e\u3067if\u6587\u304c\u3042\u308a\u307e\u3059\u3002\u300c\u3082\u3057\u301c\u306a\u3089\u25cb\u25cb\u300d\u3068\u3044\u3046\u3084\u3064\u3067\u3059\u306d\uff08\u3053\u306e\u69d8\u306a\u6587\u7ae0\u306f\u666e\u6bb5\u306e\u4f1a\u8a71\u3067\u306f\u3042\u307e\u308a\u4f7f\u308f\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c&#8230;\uff09\u3002<br>\u4f8b\u3048\u3070\u300c\uff08\u4eca\u65e5\u306f\uff09\u75b2\u308c\u305f\u304b\u3089\u3001\u5e30\u308a\u306e\u4ea4\u901a\u624b\u6bb5\u306b\u30bf\u30af\u30b7\u30fc\u3092\u4f7f\u304a\u3046\u300d\u3082\u6761\u4ef6\u5206\u5c90\u306b\u5f53\u3066\u306f\u307e\u308a\u307e\u3059\u3002<br>\u75b2\u308c\u305f = true\uff08\u75b2\u308c\u3066\u3044\u308b\uff09 \u2192 \u30bf\u30af\u30b7\u30fc\u3092\u4f7f\u3046<br>\u75b2\u308c\u305f = false\uff08\u75b2\u308c\u3066\u3044\u306a\u3044\uff09\u2192\u30bf\u30af\u30b7\u30fc\u3092\u4f7f\u308f\u306a\u3044\uff08\u6b69\u3044\u3066\u5e30\u308b\u306a\u3069\uff09<br>\u306e\u69d8\u306a\u611f\u3058\u3067\u3059\u306d\u3002<br><span style=\"color:blue\">\u3053\u306e\u8ad6\u7406\u6f14\u7b97\u5b50\u3067\u3059\u304c\u3001<\/span>true\u30fbfalse\u3068\u30d5\u30a1\u30a4\u30eb\u5185\u306b\u30d9\u30bf\u6253\u3061\u3057\u3066\u3082\u5224\u5b9a\u3055\u308c\u307e\u3059\u304c\u3001<span style=\"color:blue\">\u6761\u4ef6\u304c\u5408\u81f4\u3057\u3066\u3044\u308b\u304b\u5426\u304b\u3067\u3082\u5224\u5b9a\u3055\u308c\u307e\u3059\u3002<\/span><br>\u8a73\u7d30\u306f\u5225\u306e\u6a5f\u4f1a\u306b\u7d39\u4ecb\u3057\u307e\u3059\u304c\u3001\u4ee5\u4e0b\u306b\u4f8b\u3092\u3054\u6848\u5185\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#1E1E1E\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"$haveMoney = 160;\nif($haveMoney &gt;= 140){\n echo &quot;\u30da\u30c3\u30c8\u30dc\u30c8\u30eb\u306e\u98f2\u307f\u7269\u304c\u8cb7\u3048\u307e\u3059\uff01&quot;;\n}\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #9CDCFE\">$haveMoney<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #B5CEA8\">160<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #C586C0\">if<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #9CDCFE\">$haveMoney<\/span><span style=\"color: #D4D4D4\"> &gt;= <\/span><span style=\"color: #B5CEA8\">140<\/span><span style=\"color: #D4D4D4\">){<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&quot;\u30da\u30c3\u30c8\u30dc\u30c8\u30eb\u306e\u98f2\u307f\u7269\u304c\u8cb7\u3048\u307e\u3059\uff01&quot;<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u306e\u5834\u5408\u3001$haveMoney\u306b160\u304c\u4ee3\u5165\u3055\u308c\u3066\u3044\u307e\u3059\u3002<span style=\"color:blue\">$haveMoney &gt;= 140\u306ftrue<\/span>\uff08160&gt;=140\u306a\u306e\u3067\u6b63\u3057\u3044\uff09\u3067\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001if($haveMoney &gt;= 140)\u306e\u90e8\u5206\u306fif(true)\u3068\u540c\u3058\u610f\u5473\u306b\u306a\u308a\u307e\u3059\u3002<br>\u4e0a\u8a18\u306eif\u6587\u306f()\u5185\u306e\u6761\u4ef6\u304ctrue\u306e\u6642\u306b{}\u5185\u306e\u51e6\u7406\u3092\u5b9f\u884c\u3057\u307e\u3059\u306e\u3067\u3001&#8221;\u30da\u30c3\u30c8\u30dc\u30c8\u30eb\u306e\u98f2\u307f\u7269\u304c\u8cb7\u3048\u307e\u3059\uff01&#8221;\u304c\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002<br>bool\u306b\u5909\u63db\u3059\u308b\u5834\u5408\u3001true\u3068false\u306f\u4ee5\u4e0b\u306e\u6761\u4ef6\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u3010false\uff08\u6761\u4ef6\u304c\u5c11\u306a\u3044\u306e\u3067\u3053\u3061\u3089\u304b\u3089\u8a18\u8f09\u3057\u307e\u3059\uff09\u3011<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>boolean\u306efalse<\/li>\n\n\n\n<li>\u6570\u5024\uff08integer\uff09\u306e0<\/li>\n\n\n\n<li>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\uff08float\uff09\u306e0.0\u3001-0.0<\/li>\n\n\n\n<li>\u6587\u5b57\u5217\uff08string\uff09\u306e&#8221;0&#8243;<\/li>\n\n\n\n<li>\u6587\u5b57\u5217\uff08string\uff09\u306e\u7a7a\u6587\u5b57\u5217\u306e&#8221;&#8221;<\/li>\n\n\n\n<li>\u914d\u5217\u578b\u306e\u8981\u7d20\u306e\u6570\u304c0\u306e\u3082\u306e<br>\uff08\u914d\u5217\u578b\u306f\u5f8c\u8ff0\u3057\u307e\u3059\u304c\u3001\u8907\u6570\u306e\u5024\u3092\u307e\u3068\u3081\u3066\u683c\u7d0d\u3067\u304d\u307e\u3059\uff09<\/li>\n\n\n\n<li>NULL<br>\uff08NULL\u306f\u5f8c\u8ff0\u3057\u307e\u3059\u304c\u3001\u5909\u6570\u304c\u5024\u3092\u6301\u305f\u306a\u3044\u72b6\u614b\u3067\u3059\uff09<\/li>\n\n\n\n<li>\u5c5e\u6027\u304c\u306a\u3044\u7a7a\u8981\u7d20\u304b\u3089\u4f5c\u6210\u3055\u308c\u305fSimpleXML\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<br>\uff08\u3053\u3061\u3089\u8a73\u7d30\u306f\u4eca\u56de\u5272\u611b\u3044\u305f\u3057\u307e\u3059\uff09<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u3010true\u3011<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4e0a\u8a18\u4ee5\u5916\u306e\u5168\u3066\uff08\u8ca0\u306e\u6570\u5b57\u3001NAN(Not a Number)\u3082\u542b\u307f\u307e\u3059\uff09<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u914d\u5217\u578b\uff08array\uff09\u3068\u306f<\/h2>\n\n\n\n<p>\u914d\u5217\u578b\u306f<span style=\"color:blue\"><strong>\u8907\u6570\u306e\u5024\u3092\u307e\u3068\u3081\u3066\u683c\u7d0d\u3067\u304d\u308b\u578b<\/strong><\/span>\u3068\u306a\u308a\u307e\u3059\u3002\u914d\u5217\u306f<strong><span style=\"color:blue\">array()<\/span><\/strong>\u3084<strong><span style=\"color:blue\">[]\uff08\u30d6\u30e9\u30b1\u30c3\u30c8\uff1a\u89d2\u62ec\u5f27\uff09\u3067\u8868\u73fe<\/span><\/strong>\u3055\u308c\u307e\u3059\u3002<br>\u57fa\u672c\u7684\u306b\u5909\u6570\u3092\u5ba3\u8a00\u3057\u305f\u5834\u5408\u3001\u683c\u7d0d\u3055\u308c\u308b\u5024\u306f1\u3064\u306b\u306a\u308a\u307e\u3059\u3002\u4e00\u65b9\u914d\u5217\u578b\u306e\u5834\u5408\u3001\u8907\u6570\u306e\u5024\u3092\u307e\u3068\u3081\u30661\u3064\u306e\u5024\u3068\u3057\u3066\u683c\u7d0d\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<br>\u5177\u4f53\u7684\u306b\u306f\u4e0b\u8a18\u306e\u901a\u308a\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#1E1E1E\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"\/\/\u2460\u5909\u6570\u306e\u57fa\u672c\u5f62\uff08\u30ea\u30c6\u30e9\u30eb\u578b\uff09\n$member1 = &quot;\u50241&quot;;\n$member2 = &quot;\u50242&quot;;\n$member3 = &quot;\u50243&quot;;\n\n\/\/\u2461\u5909\u6570\u306e\u914d\u5217\u578b\n$members = array(&quot;\u50241&quot; , &quot;\u50242&quot; , &quot;\u50243&quot;);\n\/\/$members = array(\n\/\/ 0 =&gt; &quot;\u50241&quot; , \/\/\u30ad\u30fc\u30920\u306b\u6307\u5b9a\n\/\/ 1 =&gt; &quot;\u50242&quot; , \/\/\u30ad\u30fc\u30921\u306b\u6307\u5b9a\n\/\/ 2 =&gt; &quot;\u50243&quot; , \/\/\u30ad\u30fc\u30922\u306b\u6307\u5b9a\n\/\/);\u3082\u540c\u3058\u3002\n\/\/$members = [&quot;\u50241&quot; , &quot;\u50242&quot; , &quot;\u50243&quot;];\u3082\u540c\u3058\u3002[]\u3067\u56f2\u3063\u305f\u5834\u5408\u3001\u77ed\u7e2e\u516c\u6587\u306b\u306a\u308a\u307e\u3059\u3002\n\n\/\/\u2462\u914d\u5217\u578b\u3067\u4f5c\u6210\u3057\u305f\u5024\u306e\u547c\u3073\u51fa\u3057\necho $members[0] \/\/ &quot;\u50241&quot;\u3068\u8868\u793a\u3055\u308c\u308b\u3002\necho $members[1] \/\/ &quot;\u50242&quot;\u3068\u8868\u793a\u3055\u308c\u308b\u3002\necho $members[2] \/\/ &quot;\u50243&quot;\u3068\u8868\u793a\u3055\u308c\u308b\u3002\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #6A9955\">\/\/\u2460\u5909\u6570\u306e\u57fa\u672c\u5f62\uff08\u30ea\u30c6\u30e9\u30eb\u578b\uff09<\/span><\/span>\n<span class=\"line\"><span style=\"color: #9CDCFE\">$member1<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #CE9178\">&quot;\u50241&quot;<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #9CDCFE\">$member2<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #CE9178\">&quot;\u50242&quot;<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #9CDCFE\">$member3<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #CE9178\">&quot;\u50243&quot;<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/\u2461\u5909\u6570\u306e\u914d\u5217\u578b<\/span><\/span>\n<span class=\"line\"><span style=\"color: #9CDCFE\">$members<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #DCDCAA\">array<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #CE9178\">&quot;\u50241&quot;<\/span><span style=\"color: #D4D4D4\"> , <\/span><span style=\"color: #CE9178\">&quot;\u50242&quot;<\/span><span style=\"color: #D4D4D4\"> , <\/span><span style=\"color: #CE9178\">&quot;\u50243&quot;<\/span><span style=\"color: #D4D4D4\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/$members = array(<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/ 0 =&gt; &quot;\u50241&quot; , \/\/\u30ad\u30fc\u30920\u306b\u6307\u5b9a<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/ 1 =&gt; &quot;\u50242&quot; , \/\/\u30ad\u30fc\u30921\u306b\u6307\u5b9a<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/ 2 =&gt; &quot;\u50243&quot; , \/\/\u30ad\u30fc\u30922\u306b\u6307\u5b9a<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/);\u3082\u540c\u3058\u3002<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/$members = [&quot;\u50241&quot; , &quot;\u50242&quot; , &quot;\u50243&quot;];\u3082\u540c\u3058\u3002[]\u3067\u56f2\u3063\u305f\u5834\u5408\u3001\u77ed\u7e2e\u516c\u6587\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/\u2462\u914d\u5217\u578b\u3067\u4f5c\u6210\u3057\u305f\u5024\u306e\u547c\u3073\u51fa\u3057<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">$members<\/span><span style=\"color: #D4D4D4\">[<\/span><span style=\"color: #B5CEA8\">0<\/span><span style=\"color: #D4D4D4\">] <\/span><span style=\"color: #6A9955\">\/\/ &quot;\u50241&quot;\u3068\u8868\u793a\u3055\u308c\u308b\u3002<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">$members<\/span><span style=\"color: #D4D4D4\">[<\/span><span style=\"color: #B5CEA8\">1<\/span><span style=\"color: #D4D4D4\">] <\/span><span style=\"color: #6A9955\">\/\/ &quot;\u50242&quot;\u3068\u8868\u793a\u3055\u308c\u308b\u3002<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">$members<\/span><span style=\"color: #D4D4D4\">[<\/span><span style=\"color: #B5CEA8\">2<\/span><span style=\"color: #D4D4D4\">] <\/span><span style=\"color: #6A9955\">\/\/ &quot;\u50243&quot;\u3068\u8868\u793a\u3055\u308c\u308b\u3002<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u4e0a\u8a18\u306e\u901a\u308a\u3001\u901a\u5e38\u5909\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u5834\u5408\u3001\u5909\u6570\u306e\u6570\u3060\u3051\u5909\u6570\u3092\u5ba3\u8a00\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u2460\u3002\u4e00\u65b9\u3001\u914d\u5217\u578b\u3092\u7528\u3044\u308b\u3068\u3001\u8907\u6570\u306e\u5024\u30921\u3064\u306e\u5909\u6570\u306b\u683c\u7d0d\u3067\u304d\u307e\u3059\u2461\u3002\u305d\u3057\u3066\u914d\u5217\u578b\u3067\u4f5c\u6210\u3057\u305f\u5024\u3092\u547c\u3073\u51fa\u3059\u306b\u306f\u3001\u914d\u5217\u306e\u3069\u3053\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u2462\u3002<br>\u3061\u306a\u307f\u306barray()\u304a\u3088\u3073[]\u306e\u4e2d\u8eab\u306e\u9806\u756a(index)\u306b\u95a2\u3057\u3066\u3067\u3059\u304c\u3001\u7279\u306b\u30ad\u30fc\uff08\u5024\u306b\u7d10\u3065\u3044\u305f\u540d\u524d\uff09\u3092\u6307\u5b9a\u3057\u306a\u304b\u3063\u305f\u5834\u5408\u3001index\u306f0\u304b\u3089\u30b9\u30bf\u30fc\u30c8\u3057\u307e\u3059\u3002<br>\u914d\u5217\u306b\u95a2\u3057\u3066\u306f\u4ed6\u306b\u3082\u300c\u9023\u60f3\u914d\u5217\u300d\u3084\u300c\u591a\u6b21\u5143\u914d\u5217\u300d\u306a\u3069\u3001\u5b9f\u8df5\u7684\u306a\u4f7f\u3044\u65b9\u304c\u6570\u591a\u304f\u5b58\u5728\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u521d\u6b69\u7684\u306a\u90e8\u5206\u306e\u7d39\u4ecb\u306b\u7559\u3081\u3001\u8a73\u3057\u3044\u3053\u3068\u306f\u6b21\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u89e3\u8aac\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\uff08object\uff09\u3068\u306f<\/h2>\n\n\n\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u306f<span style=\"color:blue;\"><strong>\u30c7\u30fc\u30bf\u69cb\u9020\uff08\u30d7\u30ed\u30d1\u30c6\u30a3\uff09\u3068\u51e6\u7406\u7cfb\uff08\u30e1\u30bd\u30c3\u30c9\uff1a\u95a2\u6570\uff09\u304c\u307e\u3068\u307e\u3063\u305f\u578b<\/strong><\/span>\u3068\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u3092\u7528\u3044\u308b\u3053\u3068\u3067\u3001\u6a5f\u80fd\u6bce\u306e\u307e\u3068\u307e\u308a\u304c\u3067\u304d\u308b\u305f\u3081\u3001\u4fdd\u5b88\u6027\u30fb\u67d4\u8edf\u6027\u30fb\u53ef\u8aad\u6027\u306a\u3069\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002<br>\u3053\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u3092\u7406\u89e3\u3059\u308b\u306b\u306f\u3001\u5148\u306b\u300c\u95a2\u6570\u300d\u306b\u3064\u3044\u3066\u3082\u7406\u89e3\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u95a2\u6570\u306e\u3054\u7d39\u4ecb\u306f\u307e\u305f\u4ed6\u306e\u8a18\u4e8b\u3067\u5b9f\u65bd\u3057\u3001\u4eca\u56de\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5927\u67a0\u3092\u3056\u3063\u304f\u308a\u3068\u3054\u7d39\u4ecb\u3092\u3044\u305f\u3057\u307e\u3059\u3002<br>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u624b\u9806\u3092\u8e0f\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6700\u521d\u306b\u300c\u30af\u30e9\u30b9\uff08class\uff09\u300d\u3092\u5b9a\u7fa9\u3059\u308b<\/li>\n\n\n\n<li>\u5b9a\u7fa9\u3057\u305f\u30af\u30e9\u30b9\u5185\u306b\u3001\u5fc5\u8981\u306a\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u30af\u30e9\u30b9\u5185\u306e\u5909\u6570\uff09\u3068\u30e1\u30bd\u30c3\u30c9\uff08\u30af\u30e9\u30b9\u5185\u306e\u95a2\u6570\uff09\u3092\u5b9a\u7fa9\u3059\u308b<\/li>\n\n\n\n<li>\u5b9a\u7fa9\u3057\u305f\u30af\u30e9\u30b9\u3092\u57fa\u306b\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3059\u308b\uff08\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u751f\u6210\uff09<\/li>\n\n\n\n<li>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3057\u305f\u5f8c\u306b\u3001\u30af\u30e9\u30b9\u3067\u5b9a\u7fa9\u3057\u305f\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u306e\u69d8\u306a\u624b\u9806\u3068\u306a\u308a\u307e\u3059\u3002\u5177\u4f53\u4f8b\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#1E1E1E\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"&lt;?php\n\/\/\u6700\u521d\u306b\u30af\u30e9\u30b9\u3092\u5b9a\u7fa9\u3059\u308b\nclass Human{\n\/\/\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5b9a\u7fa9\uff08\u5b9f\u969b\u306e\u540d\u524d\u306f\u5f8c\u3067\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u3001\u4e00\u65e6\u5024\u306f\u7a7a\u3067\u3059\uff09\npublic $name;\n\/\/\u30e1\u30bd\u30c3\u30c9\u306e\u5b9a\u7fa9\uff08\u30e1\u30bd\u30c3\u30c9\u5185\u3067\u30d7\u30ed\u30d1\u30c6\u30a3\u3092$this-&gt;name\u3092\u4f7f\u3063\u3066\u547c\u3073\u51fa\u3057\u3066\u3044\u307e\u3059\uff09\npublic function greet()\n{\necho &quot;\u3053\u3093\u306b\u3061\u306f\u3002\u79c1\u306e\u540d\u524d\u306f\u300e&quot;\u3000.\u3000$this-&gt;name\u3000.\u3000&quot;\u300f\u3067\u3059\uff01&quot;;\n}\n} \/\/\u3053\u3053\u307e\u3067\u304c\u30af\u30e9\u30b9\u306e\u5b9a\u7fa9\n\n\/\/\u30af\u30e9\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\u3059\u308b\u3002\n$ yamada = new Human();\n\/\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e$name\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u540d\u524d\u3092\u8a2d\u5b9a\u3059\u308b\u3002\n$ yamada-&gt;name = &quot;\u5c71\u7530 \u592a\u90ce&quot;;\n\/\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306egreet()\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u3002\n$ yamada-&gt;greet(); \/\/ ==&gt; \u3053\u3093\u306b\u3061\u306f\u3002\u79c1\u306e\u540d\u524d\u306f\u300e\u5c71\u7530 \u592a\u90ce\u300f\u3067\u3059\uff01\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">&lt;?php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/\u6700\u521d\u306b\u30af\u30e9\u30b9\u3092\u5b9a\u7fa9\u3059\u308b<\/span><\/span>\n<span class=\"line\"><span style=\"color: #569CD6\">class<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #4EC9B0\">Human<\/span><span style=\"color: #D4D4D4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5b9a\u7fa9\uff08\u5b9f\u969b\u306e\u540d\u524d\u306f\u5f8c\u3067\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u3001\u4e00\u65e6\u5024\u306f\u7a7a\u3067\u3059\uff09<\/span><\/span>\n<span class=\"line\"><span style=\"color: #569CD6\">public<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">$name<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/\u30e1\u30bd\u30c3\u30c9\u306e\u5b9a\u7fa9\uff08\u30e1\u30bd\u30c3\u30c9\u5185\u3067\u30d7\u30ed\u30d1\u30c6\u30a3\u3092$this-&gt;name\u3092\u4f7f\u3063\u3066\u547c\u3073\u51fa\u3057\u3066\u3044\u307e\u3059\uff09<\/span><\/span>\n<span class=\"line\"><span style=\"color: #569CD6\">public<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">function<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #DCDCAA\">greet<\/span><span style=\"color: #D4D4D4\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&quot;\u3053\u3093\u306b\u3061\u306f\u3002\u79c1\u306e\u540d\u524d\u306f\u300e&quot;<\/span><span style=\"color: #D4D4D4\">\u3000<\/span><span style=\"color: #D4D4D4\">.<\/span><span style=\"color: #D4D4D4\">\u3000<\/span><span style=\"color: #569CD6\">$this<\/span><span style=\"color: #D4D4D4\">-&gt;<\/span><span style=\"color: #9CDCFE\">name\u3000<\/span><span style=\"color: #D4D4D4\">.<\/span><span style=\"color: #D4D4D4\">\u3000<\/span><span style=\"color: #CE9178\">&quot;\u300f\u3067\u3059\uff01&quot;<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">} <\/span><span style=\"color: #6A9955\">\/\/\u3053\u3053\u307e\u3067\u304c\u30af\u30e9\u30b9\u306e\u5b9a\u7fa9<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/\u30af\u30e9\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\u3059\u308b\u3002<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">$ yamada = <\/span><span style=\"color: #569CD6\">new<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #4EC9B0\">Human<\/span><span style=\"color: #D4D4D4\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e$name\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u540d\u524d\u3092\u8a2d\u5b9a\u3059\u308b\u3002<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">$ yamada-&gt;<\/span><span style=\"color: #9CDCFE\">name<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #CE9178\">&quot;\u5c71\u7530 \u592a\u90ce&quot;<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306egreet()\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u3002<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">$ yamada-&gt;<\/span><span style=\"color: #DCDCAA\">greet<\/span><span style=\"color: #D4D4D4\">(); <\/span><span style=\"color: #6A9955\">\/\/ ==&gt; \u3053\u3093\u306b\u3061\u306f\u3002\u79c1\u306e\u540d\u524d\u306f\u300e\u5c71\u7530 \u592a\u90ce\u300f\u3067\u3059\uff01<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u4eca\u56de\u306fHuman\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5909\u6570\uff09\u306b$name\u3001\u30e1\u30bd\u30c3\u30c9\uff08\u95a2\u6570\uff09\u306bgreet()\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u3002<br>\u6025\u306b\u96e3\u3057\u304f\u306a\u308a\u307e\u3057\u305f\u306d&#8230;\u9806\u3092\u8ffd\u3063\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><br><code>class Human{ <\/code> <\/p>\n\n\n\n<p>\u3053\u3053\u3067\u306fclass\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>public <\/code><strong>\u300c\u30a2\u30af\u30bb\u30b9\u4fee\u98fe\u5b50\u300d<\/strong>\u3068\u547c\u3070\u308c\u308b\u3082\u306e\u3067\u3059\u3002\u3069\u3053\u304b\u3089\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30e1\u30bd\u30c3\u30c9\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u304b\u3092\u8868\u3057\u307e\u3059\u3002public,protected,private\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u5916\u90e8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308bpublic\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u5916\u90e8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u306b\u306fprotected\u3084private\u3092\u7528\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>$name<\/code> \u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u30af\u30e9\u30b9\u5185\u306e\u5909\u6570\uff09\u3067\u3059\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u5f8c\u304b\u3089\u5909\u66f4\u3067\u304d\u308b\u3088\u3046\u3001\u521d\u671f\u5024\u306f\u8a2d\u5b9a\u305b\u305a\u3001\u5909\u6570\u5ba3\u8a00\u306e\u307f\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\u5f8c\u3067\u51fa\u3066\u304f\u308b$yamada -&gt;name = &#8220;\u5c71\u7530 \u592a\u90ce&#8221;\u3067\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\uff08\u5f8c\u8ff0\u53c2\u7167\uff09\u3055\u308c\u305f$name\u306b\u5024\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>public function greet(){...}<\/code> <\/p>\n\n\n\n<p>\u30e1\u30bd\u30c3\u30c9\uff08\u30af\u30e9\u30b9\u5185\u306e\u95a2\u6570\uff09\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u300c\u3053\u3093\u306b\u3061\u306f\u3002\u79c1\u306e\u540d\u524d\u306f\u300e\u3007\u3007\u300f\u3067\u3059\uff01\u300d\u3068echo\u3055\u308c\u308b\u30e1\u30bd\u30c3\u30c9\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p><strong><code><span style=\"color:green;\">$this-&gt;name<\/span><\/code> <\/strong><\/p>\n\n\n\n<p>\u64ec\u4f3c\u5909\u6570$this\u304b\u3089name\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>.\uff08\u30c9\u30c3\u30c8\uff09<\/code> \u7d50\u5408\u6f14\u7b97\u5b50\u3067\u3059\u3002.\uff08\u30c9\u30c3\u30c8\uff09\u306e\u5de6\u5074\u3068\u53f3\u5074\u3092\u7d50\u5408\u3057\u307e\u3059\u3002<br>\u3053\u3053\u307e\u3067\u3067\u30af\u30e9\u30b9\u306e\u5b9a\u7fa9\u304c\u5b8c\u4e86\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>$yamada =  new Human();<\/code><\/p>\n\n\n\n<p> \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\u3057\u3066\u3044\u307e\u3059\u3002<br>\u5b9f\u306f\u30af\u30e9\u30b9\u3068\u3044\u3046\u3082\u306e\u306f\u3001\u5b9a\u7fa9\u3059\u308b\u3060\u3051\u3067\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002<br>\u4eca\u56de\u306e\u3088\u3046\u306b\u3001$yamada\u306b\u5bfe\u3057new\u6f14\u7b97\u5b50\u3092\u7528\u3044\u3066Human\u30af\u30e9\u30b9\u3092\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3057\u305f\u69d8\u306b\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>$yamada-&gt;name = \"\u5c71\u7530 \u592a\u90ce\";<\/code> <\/p>\n\n\n\n<p>\u751f\u6210\u3057\u305f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306ename\u30d7\u30ed\u30d1\u30c6\u30a3\u306b&#8221;\u5c71\u7530 \u592a\u90ce&#8221;\u3092\u4ee3\u5165\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>$yamada-&gt;greet();<\/code> <\/p>\n\n\n\n<p>\u751f\u6210\u3057\u305f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304b\u3089\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u307e\u3059\u3002\u4e8b\u524d\u306b<code>$yamada-&gt;name = \"\u5c71\u7530 \u592a\u90ce\";<\/code>\u3067name\u30d7\u30ed\u30d1\u30c6\u30a3\u306b&#8221;\u5c71\u7530 \u592a\u90ce&#8221;\u3092\u4ee3\u5165\u3057\u305f\u306e\u3067\u3001\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u305f\u969b\u306f<code>$this-&gt;name;<\/code>\u306b&#8221;\u5c71\u7530 \u592a\u90ce&#8221;\u304c\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3073\u51fa\u3055\u308c\u305f\u969b\u306f<br>\u300c\u3053\u3093\u306b\u3061\u306f\u3002\u79c1\u306e\u540d\u524d\u306f\u300e\u5c71\u7530 \u592a\u90ce\u300f\u3067\u3059\uff01\u300d<br>\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br>\u5927\u307e\u304b\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u306f\u30c7\u30fc\u30bf\u69cb\u9020\u3068\u51e6\u7406\u7cfb\u304c\u307e\u3068\u307e\u3063\u305f\u578b\u3067\u3042\u308b\u3053\u3068\u306e\u3054\u7d39\u4ecb\u3092\u3044\u305f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">NULL\u578b\uff08null\uff09\u3068\u306f<\/h2>\n\n\n\n<p>NULL\u578b\u306f<span style=\"color:blue;\"><strong>\u300c\u5909\u6570\u304c\u5024\u3092\u6301\u305f\u306a\u3044\u72b6\u614b\u300d\u3092\u8868\u3059\u7279\u6b8a\u306a\u578b<\/strong><\/span>\u3067\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u4ee5\u4e0b\u306e3\u3064\u306e\u72b6\u614b\u304c\u8a72\u5f53\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5b9a\u6570\u306eNULL\u304c\u4ee3\u5165\u3055\u308c\u3066\u3044\u308b\u3002<\/li>\n\n\n\n<li>\u5909\u6570\u306b\u5024\u304c\u4ee3\u5165\u3055\u308c\u3066\u3044\u306a\u3044\u3002<\/li>\n\n\n\n<li>\u5909\u6570\u304cunset()\u3055\u308c\u3066\u3044\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u9806\u3092\u8ffd\u3063\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<br>\u300c\u5b9a\u6570\u306eNULL\u304c\u4ee3\u5165\u3055\u308c\u3066\u3044\u308b\u300d\u3068\u306f\u3001\u5909\u6570\u306b\u5b9a\u6570\u306eNULL\u3092\u4ee3\u5165\u3057\u3066\u3044\u308b\u72b6\u614b\u3067\u3059\u3002<br>\u6b21\u306e\u300c\u5909\u6570\u306b\u5024\u304c\u4ee3\u5165\u3055\u308c\u3066\u3044\u306a\u3044\u300d\u3068\u306f\u3001\u5909\u6570\u306e\u5ba3\u8a00\u306f\u884c\u3063\u3066\u3044\u308b\u3082\u306e\u306e\u5024\u304c\u4ee3\u5165\u3055\u308c\u3066\u3044\u306a\u3044\u72b6\u614b\u3092\u6307\u3057\u307e\u3059\u3002<br>\u6700\u5f8c\u306e\u300c\u5909\u6570\u304cunset()\u3055\u308c\u3066\u3044\u308b\u300d\u3068\u306f\u3001\u5909\u6570\u5ba3\u8a00\u3092\u884c\u3044\u5024\u3092\u4ee3\u5165\u3057\u305f\u5f8c\u306b\u3001\u5909\u6570\u306e\u5272\u308a\u5f53\u3066\u3092\u524a\u9664\u3057\u305f\u72b6\u614b\u3067\u3059\u3002\u5404\u3005\u4ee5\u4e0b\u306e\u901a\u308a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#1E1E1E\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"&lt;?php\n$value1 = NULL; \/\/\u5b9a\u6570NULL\u3092\u4ee3\u5165\u3057\u3066\u3044\u307e\u3059\n$value2 = ; \/\/\u5909\u6570\u306b\u5024\u304c\u4ee3\u5165\u3055\u308c\u3066\u3044\u307e\u305b\u3093\n$value3 = 3; \/\/\u5909\u6570\u306b3\u3092\u4ee3\u5165\u3057\u3066\u3044\u307e\u3059\n\necho $value1; \/\/\u4f55\u3082\u51fa\u529b\u3055\u308c\u307e\u305b\u3093\necho $value2; \/\/\u4f55\u3082\u51fa\u529b\u3055\u308c\u307e\u305b\u3093\necho $value3; \/\/3\n\nunset($value3); \/\/\u5909\u6570\u3092unset()\u95a2\u6570\u3067$value3\u306e\u5909\u6570\u306e\u5272\u308a\u5f53\u3066\u3092\u524a\u9664\u3057\u307e\u3057\u305f\n\necho $value3; \/\/\u4eca\u5ea6\u306f\u4f55\u3082\u51fa\u529b\u3055\u308c\u307e\u305b\u3093\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">&lt;?php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #9CDCFE\">$value1<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #569CD6\">NULL<\/span><span style=\"color: #D4D4D4\">; <\/span><span style=\"color: #6A9955\">\/\/\u5b9a\u6570NULL\u3092\u4ee3\u5165\u3057\u3066\u3044\u307e\u3059<\/span><\/span>\n<span class=\"line\"><span style=\"color: #9CDCFE\">$value2<\/span><span style=\"color: #D4D4D4\"> = ; <\/span><span style=\"color: #6A9955\">\/\/\u5909\u6570\u306b\u5024\u304c\u4ee3\u5165\u3055\u308c\u3066\u3044\u307e\u305b\u3093<\/span><\/span>\n<span class=\"line\"><span style=\"color: #9CDCFE\">$value3<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #B5CEA8\">3<\/span><span style=\"color: #D4D4D4\">; <\/span><span style=\"color: #6A9955\">\/\/\u5909\u6570\u306b3\u3092\u4ee3\u5165\u3057\u3066\u3044\u307e\u3059<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">$value1<\/span><span style=\"color: #D4D4D4\">; <\/span><span style=\"color: #6A9955\">\/\/\u4f55\u3082\u51fa\u529b\u3055\u308c\u307e\u305b\u3093<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">$value2<\/span><span style=\"color: #D4D4D4\">; <\/span><span style=\"color: #6A9955\">\/\/\u4f55\u3082\u51fa\u529b\u3055\u308c\u307e\u305b\u3093<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">$value3<\/span><span style=\"color: #D4D4D4\">; <\/span><span style=\"color: #6A9955\">\/\/3<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">unset<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #9CDCFE\">$value3<\/span><span style=\"color: #D4D4D4\">); <\/span><span style=\"color: #6A9955\">\/\/\u5909\u6570\u3092unset()\u95a2\u6570\u3067$value3\u306e\u5909\u6570\u306e\u5272\u308a\u5f53\u3066\u3092\u524a\u9664\u3057\u307e\u3057\u305f<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">$value3<\/span><span style=\"color: #D4D4D4\">; <\/span><span style=\"color: #6A9955\">\/\/\u4eca\u5ea6\u306f\u4f55\u3082\u51fa\u529b\u3055\u308c\u307e\u305b\u3093<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u306e\u69d8\u306b\u3001\u5909\u6570\u304c\u5024\u3092\u6301\u305f\u306a\u3044\u72b6\u614b\u304cNULL\u578b\u306b\u8a72\u5f53\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u3067\u3057\u3087\u3046\u304b\u3002<br>\u4eca\u56de\u306fPHP\u3067\u306e\u578b\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3044\u305f\u3057\u307e\u3057\u305f\u3002<br>\u6b21\u56de\u306fPHP\u3067\u306e\u914d\u5217\u306b\u3064\u3044\u3066\u3001\u3088\u308a\u8a73\u3057\u304f\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br><a href=\"https:\/\/tetraup.com\/news_topics\/column\/php-part7\/\" title=\"\">\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3082\u77e5\u3089\u306a\u3044\u3068\u30e4\u30d0\u30a4\u3000Part7\u301c\u914d\u5217\u306e\u7d39\u4ecb\u301c<\/a>\u306b\u79fb\u52d5\u3059\u308b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6700\u5f8c\u306b<\/h2>\n\n\n\n<p>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u72ec\u5b66\u3067\u884c\u3046\u3068\u632b\u6298\u3059\u308b\u3053\u3068\u304c\u3057\u3070\u3057\u3070\u3042\u308a\u307e\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3093\u3067\u307f\u305f\u3044\u65b9\u3001\u77ed\u671f\u9593\u3067\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u8eab\u306b\u3064\u3051\u305f\u3044\u65b9\u306f<a href=\"https:\/\/education.knocknote.jp\/wish\/\">64\u6642\u9593\u3067\u201d\u306a\u308a\u305f\u3044\u201d\u3092\u53f6\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300cWISH\u300d<\/a>\u306b\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002\u73fe\u5728\u7121\u6599\u30ab\u30a6\u30f3\u30bb\u30ea\u30f3\u30b0\u3084\u3001\u5165\u4f1a\u91d1\u7121\u6599\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3001\u3055\u3089\u306b\u53d7\u8b1b\u659920\uff05\u30aa\u30d5\u306e\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3092\u958b\u50ac\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u306f\u81ea\u5206\u3067\u66f8\u3044\u305fPHP\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30d6\u30e9\u30a6\u30b6\u306b\u8868\u793a\u3055\u305b\u308b\u3068\u3053\u308d\u307e\u3067\u5b9f\u884c\u3057\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u30c7\u30fc\u30bf\u578b\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002 \u300c\u30c7\u30fc\u30bf\u578b\u300d\u3068\u306f\u4f55\u304b \u305d\u308c\u3067\u306f\u3055\u3063\u305d\u304f\u300c\u30c7\u30fc\u30bf\u578b\u300d\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u30d7 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":9037,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[37],"tags":[82,60],"class_list":["post-7416","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column","tag-php","tag-web-site"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/posts\/7416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/comments?post=7416"}],"version-history":[{"count":4,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/posts\/7416\/revisions"}],"predecessor-version":[{"id":9038,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/posts\/7416\/revisions\/9038"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/media\/9037"}],"wp:attachment":[{"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/media?parent=7416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/categories?post=7416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/tags?post=7416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}