{"id":2429,"date":"2025-05-08T09:30:49","date_gmt":"2025-05-08T00:30:49","guid":{"rendered":"https:\/\/comcent.co.jp\/blog\/?p=2429"},"modified":"2025-03-19T13:38:59","modified_gmt":"2025-03-19T04:38:59","slug":"__trashed","status":"publish","type":"post","link":"https:\/\/comcent.co.jp\/blog\/archives\/2429\/","title":{"rendered":"\u591a\u5206\u4e16\u754c\u4e00\u8a73\u7d30\u306a PHP \u30ad\u30e3\u30b9\u30c8\u7d50\u679c\u5bfe\u5fdc\u8868"},"content":{"rendered":"\n<p>PHP \u3092\u672c\u683c\u7684\u306b\u66f8\u304d\u59cb\u3081\u3066\u304b\u3089 7 \u5e74\u304f\u3089\u3044\u7d4c\u3061\u307e\u3059\u3002<br><br>\u6700\u8fd1\u306f\u30ad\u30e3\u30b9\u30c8\u7d50\u679c\u304c\u3069\u3046\u306a\u308b\u304b\u30b0\u30b0\u308b\u3053\u3068\u306f\u5c11\u306a\u304f\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u305d\u308c\u3067\u3082\u7d50\u679c\u306e\u4e00\u89a7\u8868\u304c\u3042\u3063\u305f\u3089\u4fbf\u5229\u3060\u308d\u3046\u306a\u3041\u3001\u3068\u601d\u3063\u3066 7 \u5e74\u30b5\u30dc\u308a\u307e\u3057\u305f\u3002<br><br>\u30d6\u30ed\u30b0\u3092\u66f8\u304f\u30cd\u30bf\u3092\u8003\u3048\u3066\u3044\u305f\u3068\u304d\u306b\u3001\u3075\u3068\u3053\u306e\u8ab2\u984c\u3092\u601d\u3044\u51fa\u3057\u305f\u306e\u3067\u3055\u3063\u3068 PHP \u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002\u8868\u3082\u5408\u308f\u305b\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline01 modHeadline\">PHP \u306e\u30ad\u30e3\u30b9\u30c8\u7d50\u679c\u8868<\/h4>\n\n\n\n<p>\u5148\u306b\u624b\u6301\u3061\u306e PHP 8.1.13 \u3067\u5f8c\u8ff0\u3059\u308b\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u305f\u7d50\u679c\u8868\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u203b\u30d6\u30ed\u30b0\u306b\u5f35\u308a\u4ed8\u3051\u3066\u3044\u308b\u95a2\u4fc2\u4e0a\u3001\u5f8c\u3067\u7d39\u4ecb\u3059\u308b\u30b3\u30fc\u30c9\u306e\u7d50\u679c\u3068\u30b9\u30bf\u30a4\u30eb\u304c\u9055\u3044\u307e\u3059\u304c\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">PHP cast results table(PHP Version: 8.1.13)<\/h1>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>&nbsp;<\/th><th>(int)<\/th><th>(float)<\/th><th>(string)<\/th><th>(bool)<\/th><th>(array)<\/th><th>(object)<\/th><\/tr><\/thead><tbody><tr><td>1<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td>string(1) \"1\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; int(1) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; int(1) } (truthy)<\/td><\/tr><tr><td>0<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(1) \"0\" (falsy)<\/td><td>bool(false) (falsy)<\/td><td>array(1) { [0]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>00<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(1) \"0\" (falsy)<\/td><td>bool(false) (falsy)<\/td><td>array(1) { [0]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>-1<\/td><td>int(-1) (truthy)<\/td><td>float(-1) (truthy)<\/td><td>string(2) \"-1\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; int(-1) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; int(-1) } (truthy)<\/td><\/tr><tr><td>-0<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(1) \"0\" (falsy)<\/td><td>bool(false) (falsy)<\/td><td>array(1) { [0]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>0x00000<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(1) \"0\" (falsy)<\/td><td>bool(false) (falsy)<\/td><td>array(1) { [0]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>true<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td>string(1) \"1\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; bool(true) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; bool(true) } (truthy)<\/td><\/tr><tr><td>false<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(0) \"\" (falsy)<\/td><td>bool(false) (falsy)<\/td><td>array(1) { [0]=&gt; bool(false) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; bool(false) } (truthy)<\/td><\/tr><tr><td>1.1<\/td><td>int(1) (truthy)<\/td><td>float(1.1) (truthy)<\/td><td>string(3) \"1.1\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(1.1) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; float(1.1) } (truthy)<\/td><\/tr><tr><td>1.1111111<\/td><td>int(1) (truthy)<\/td><td>float(1.1111111) (truthy)<\/td><td>string(9) \"1.1111111\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(1.1111111) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; float(1.1111111) } (truthy)<\/td><\/tr><tr><td>0.0<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(1) \"0\" (falsy)<\/td><td>bool(false) (falsy)<\/td><td>array(1) { [0]=&gt; float(0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; float(0) } (truthy)<\/td><\/tr><tr><td>0.0000000<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(1) \"0\" (falsy)<\/td><td>bool(false) (falsy)<\/td><td>array(1) { [0]=&gt; float(0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; float(0) } (truthy)<\/td><\/tr><tr><td>0.0000001<\/td><td>int(0) (falsy)<\/td><td>float(1.0E-7) (truthy)<\/td><td>string(6) \"1.0E-7\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(1.0E-7) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; float(1.0E-7) } (truthy)<\/td><\/tr><tr><td>0.5000000<\/td><td>int(0) (falsy)<\/td><td>float(0.5) (truthy)<\/td><td>string(3) \"0.5\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(0.5) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; float(0.5) } (truthy)<\/td><\/tr><tr><td>-1.1<\/td><td>int(-1) (truthy)<\/td><td>float(-1.1) (truthy)<\/td><td>string(4) \"-1.1\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(-1.1) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; float(-1.1) } (truthy)<\/td><\/tr><tr><td>-1.1111111<\/td><td>int(-1) (truthy)<\/td><td>float(-1.1111111) (truthy)<\/td><td>string(10) \"-1.1111111\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(-1.1111111) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; float(-1.1111111) } (truthy)<\/td><\/tr><tr><td>-0.0<\/td><td>int(0) (falsy)<\/td><td>float(-0) (falsy)<\/td><td>string(2) \"-0\" (truthy)<\/td><td>bool(false) (falsy)<\/td><td>array(1) { [0]=&gt; float(-0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; float(-0) } (truthy)<\/td><\/tr><tr><td>-0.0000000<\/td><td>int(0) (falsy)<\/td><td>float(-0) (falsy)<\/td><td>string(2) \"-0\" (truthy)<\/td><td>bool(false) (falsy)<\/td><td>array(1) { [0]=&gt; float(-0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; float(-0) } (truthy)<\/td><\/tr><tr><td>-0.0000001<\/td><td>int(0) (falsy)<\/td><td>float(-1.0E-7) (truthy)<\/td><td>string(7) \"-1.0E-7\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(-1.0E-7) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; float(-1.0E-7) } (truthy)<\/td><\/tr><tr><td>-0.5000000<\/td><td>int(0) (falsy)<\/td><td>float(-0.5) (truthy)<\/td><td>string(4) \"-0.5\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(-0.5) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; float(-0.5) } (truthy)<\/td><\/tr><tr><td>null<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(0) \"\" (falsy)<\/td><td>bool(false) (falsy)<\/td><td>array(0) { } (falsy)<\/td><td>object(stdClass)#50 (0) { } (truthy)<\/td><\/tr><tr><td>'text'<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(4) \"text\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(4) \"text\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(4) \"text\" } (truthy)<\/td><\/tr><tr><td>\"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\"<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(11) \"I love PHP.\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(11) \"I love PHP.\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(11) \"I love PHP.\" } (truthy)<\/td><\/tr><tr><td>''<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(0) \"\" (falsy)<\/td><td>bool(false) (falsy)<\/td><td>array(1) { [0]=&gt; string(0) \"\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(0) \"\" } (truthy)<\/td><\/tr><tr><td>\"\\x00\"<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(1) \"\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(1) \"\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(1) \"\" } (truthy)<\/td><\/tr><tr><td>' '<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(1) \" \" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(1) \" \" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(1) \" \" } (truthy)<\/td><\/tr><tr><td>'\u3000'<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(3) \"\u3000\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(3) \"\u3000\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(3) \"\u3000\" } (truthy)<\/td><\/tr><tr><td>'\uff10'<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(3) \"\uff10\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(3) \"\uff10\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(3) \"\uff10\" } (truthy)<\/td><\/tr><tr><td>'1'<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td>string(1) \"1\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(1) \"1\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(1) \"1\" } (truthy)<\/td><\/tr><tr><td>'0'<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(1) \"0\" (falsy)<\/td><td>bool(false) (falsy)<\/td><td>array(1) { [0]=&gt; string(1) \"0\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(1) \"0\" } (truthy)<\/td><\/tr><tr><td>'00'<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(2) \"00\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(2) \"00\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(2) \"00\" } (truthy)<\/td><\/tr><tr><td>'-1'<\/td><td>int(-1) (truthy)<\/td><td>float(-1) (truthy)<\/td><td>string(2) \"-1\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(2) \"-1\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(2) \"-1\" } (truthy)<\/td><\/tr><tr><td>'-0'<\/td><td>int(0) (falsy)<\/td><td>float(-0) (falsy)<\/td><td>string(2) \"-0\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(2) \"-0\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(2) \"-0\" } (truthy)<\/td><\/tr><tr><td>'true'<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(4) \"true\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(4) \"true\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(4) \"true\" } (truthy)<\/td><\/tr><tr><td>'false'<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(5) \"false\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(5) \"false\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(5) \"false\" } (truthy)<\/td><\/tr><tr><td>'1.1'<\/td><td>int(1) (truthy)<\/td><td>float(1.1) (truthy)<\/td><td>string(3) \"1.1\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(3) \"1.1\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(3) \"1.1\" } (truthy)<\/td><\/tr><tr><td>'1.1111111'<\/td><td>int(1) (truthy)<\/td><td>float(1.1111111) (truthy)<\/td><td>string(9) \"1.1111111\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(9) \"1.1111111\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(9) \"1.1111111\" } (truthy)<\/td><\/tr><tr><td>'0.0'<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(3) \"0.0\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(3) \"0.0\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(3) \"0.0\" } (truthy)<\/td><\/tr><tr><td>'0.0000000'<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(9) \"0.0000000\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(9) \"0.0000000\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(9) \"0.0000000\" } (truthy)<\/td><\/tr><tr><td>'0.0000001'<\/td><td>int(0) (falsy)<\/td><td>float(1.0E-7) (truthy)<\/td><td>string(9) \"0.0000001\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(9) \"0.0000001\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(9) \"0.0000001\" } (truthy)<\/td><\/tr><tr><td>'0.5000000'<\/td><td>int(0) (falsy)<\/td><td>float(0.5) (truthy)<\/td><td>string(9) \"0.5000000\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(9) \"0.5000000\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(9) \"0.5000000\" } (truthy)<\/td><\/tr><tr><td>'-1.1'<\/td><td>int(-1) (truthy)<\/td><td>float(-1.1) (truthy)<\/td><td>string(4) \"-1.1\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(4) \"-1.1\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(4) \"-1.1\" } (truthy)<\/td><\/tr><tr><td>'-1.1111111'<\/td><td>int(-1) (truthy)<\/td><td>float(-1.1111111) (truthy)<\/td><td>string(10) \"-1.1111111\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(10) \"-1.1111111\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(10) \"-1.1111111\" } (truthy)<\/td><\/tr><tr><td>'-0.0'<\/td><td>int(0) (falsy)<\/td><td>float(-0) (falsy)<\/td><td>string(4) \"-0.0\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(4) \"-0.0\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(4) \"-0.0\" } (truthy)<\/td><\/tr><tr><td>'-0.0000000'<\/td><td>int(0) (falsy)<\/td><td>float(-0) (falsy)<\/td><td>string(10) \"-0.0000000\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(10) \"-0.0000000\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(10) \"-0.0000000\" } (truthy)<\/td><\/tr><tr><td>'-0.0000001'<\/td><td>int(0) (falsy)<\/td><td>float(-1.0E-7) (truthy)<\/td><td>string(10) \"-0.0000001\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(10) \"-0.0000001\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(10) \"-0.0000001\" } (truthy)<\/td><\/tr><tr><td>'-0.5000000'<\/td><td>int(0) (falsy)<\/td><td>float(-0.5) (truthy)<\/td><td>string(10) \"-0.5000000\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(10) \"-0.5000000\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(10) \"-0.5000000\" } (truthy)<\/td><\/tr><tr><td>'null'<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td>string(4) \"null\" (truthy)<\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(4) \"null\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"scalar\"]=&gt; string(4) \"null\" } (truthy)<\/td><\/tr><tr><td>[]<\/td><td>int(0) (falsy)<\/td><td>float(0) (falsy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(false) (falsy)<\/td><td>array(0) { } (falsy)<\/td><td>object(stdClass)#50 (0) { } (truthy)<\/td><\/tr><tr><td>[[]]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; array(0) { } } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; array(0) { } } (truthy)<\/td><\/tr><tr><td>[[[[[[[]]]]]]]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; array(1) { [0]=&gt; array(1) { [0]=&gt; array(1) { [0]=&gt; array(1) { [0]=&gt; array(1) { [0]=&gt; array(0) { } } } } } } } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; array(1) { [0]=&gt; array(1) { [0]=&gt; array(1) { [0]=&gt; array(1) { [0]=&gt; array(1) { [0]=&gt; array(0) { } } } } } } } (truthy)<\/td><\/tr><tr><td>[1]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; int(1) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; int(1) } (truthy)<\/td><\/tr><tr><td>[0]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>[00]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>[-1]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; int(-1) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; int(-1) } (truthy)<\/td><\/tr><tr><td>[-0]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>[0x00000]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>[true]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; bool(true) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; bool(true) } (truthy)<\/td><\/tr><tr><td>[false]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; bool(false) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; bool(false) } (truthy)<\/td><\/tr><tr><td>[1.1]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(1.1) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; float(1.1) } (truthy)<\/td><\/tr><tr><td>[1.1111111]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(1.1111111) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; float(1.1111111) } (truthy)<\/td><\/tr><tr><td>[0.0]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; float(0) } (truthy)<\/td><\/tr><tr><td>[0.0000000]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; float(0) } (truthy)<\/td><\/tr><tr><td>[0.0000001]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(1.0E-7) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; float(1.0E-7) } (truthy)<\/td><\/tr><tr><td>[0.5000000]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(0.5) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; float(0.5) } (truthy)<\/td><\/tr><tr><td>[-1.1]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(-1.1) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; float(-1.1) } (truthy)<\/td><\/tr><tr><td>[-1.1111111]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(-1.1111111) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; float(-1.1111111) } (truthy)<\/td><\/tr><tr><td>[-0.0]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(-0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; float(-0) } (truthy)<\/td><\/tr><tr><td>[-0.0000000]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(-0) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; float(-0) } (truthy)<\/td><\/tr><tr><td>[-0.0000001]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(-1.0E-7) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; float(-1.0E-7) } (truthy)<\/td><\/tr><tr><td>[-0.5000000]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; float(-0.5) } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; float(-0.5) } (truthy)<\/td><\/tr><tr><td>[null]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; NULL } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; NULL } (truthy)<\/td><\/tr><tr><td>['text']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(4) \"text\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(4) \"text\" } (truthy)<\/td><\/tr><tr><td>[\"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\"]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(11) \"I love PHP.\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(11) \"I love PHP.\" } (truthy)<\/td><\/tr><tr><td>['']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(0) \"\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(0) \"\" } (truthy)<\/td><\/tr><tr><td>[\"\\x00\"]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(1) \"\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(1) \"\" } (truthy)<\/td><\/tr><tr><td>[' ']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(1) \" \" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(1) \" \" } (truthy)<\/td><\/tr><tr><td>['\u3000']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(3) \"\u3000\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(3) \"\u3000\" } (truthy)<\/td><\/tr><tr><td>['\uff10']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(3) \"\uff10\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(3) \"\uff10\" } (truthy)<\/td><\/tr><tr><td>['1']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(1) \"1\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(1) \"1\" } (truthy)<\/td><\/tr><tr><td>['0']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(1) \"0\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(1) \"0\" } (truthy)<\/td><\/tr><tr><td>['00']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(2) \"00\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(2) \"00\" } (truthy)<\/td><\/tr><tr><td>['-1']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(2) \"-1\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(2) \"-1\" } (truthy)<\/td><\/tr><tr><td>['-0']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(2) \"-0\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(2) \"-0\" } (truthy)<\/td><\/tr><tr><td>['true']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(4) \"true\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(4) \"true\" } (truthy)<\/td><\/tr><tr><td>['false']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(5) \"false\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(5) \"false\" } (truthy)<\/td><\/tr><tr><td>['1.1']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(3) \"1.1\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(3) \"1.1\" } (truthy)<\/td><\/tr><tr><td>['1.1111111']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(9) \"1.1111111\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(9) \"1.1111111\" } (truthy)<\/td><\/tr><tr><td>['0.0']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(3) \"0.0\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(3) \"0.0\" } (truthy)<\/td><\/tr><tr><td>['0.0000000']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(9) \"0.0000000\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(9) \"0.0000000\" } (truthy)<\/td><\/tr><tr><td>['0.0000001']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(9) \"0.0000001\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(9) \"0.0000001\" } (truthy)<\/td><\/tr><tr><td>['0.5000000']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(9) \"0.5000000\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(9) \"0.5000000\" } (truthy)<\/td><\/tr><tr><td>['-1.1']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(4) \"-1.1\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(4) \"-1.1\" } (truthy)<\/td><\/tr><tr><td>['-1.1111111']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(10) \"-1.1111111\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(10) \"-1.1111111\" } (truthy)<\/td><\/tr><tr><td>['-0.0']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(4) \"-0.0\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(4) \"-0.0\" } (truthy)<\/td><\/tr><tr><td>['-0.0000000']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(10) \"-0.0000000\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(10) \"-0.0000000\" } (truthy)<\/td><\/tr><tr><td>['-0.0000001']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(10) \"-0.0000001\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(10) \"-0.0000001\" } (truthy)<\/td><\/tr><tr><td>['-0.5000000']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(10) \"-0.5000000\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(10) \"-0.5000000\" } (truthy)<\/td><\/tr><tr><td>['null']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(4) \"null\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(4) \"null\" } (truthy)<\/td><\/tr><tr><td>[1, 1]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; int(1) [1]=&gt; int(1) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; int(1) [\"1\"]=&gt; int(1) } (truthy)<\/td><\/tr><tr><td>[0, 0]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; int(0) [1]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; int(0) [\"1\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>[00, 00]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; int(0) [1]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; int(0) [\"1\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>[-1, -1]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; int(-1) [1]=&gt; int(-1) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; int(-1) [\"1\"]=&gt; int(-1) } (truthy)<\/td><\/tr><tr><td>[-0, -0]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; int(0) [1]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; int(0) [\"1\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>[0x00000, 0x00000]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; int(0) [1]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; int(0) [\"1\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>[true, true]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; bool(true) [1]=&gt; bool(true) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; bool(true) [\"1\"]=&gt; bool(true) } (truthy)<\/td><\/tr><tr><td>[false, false]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; bool(false) [1]=&gt; bool(false) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; bool(false) [\"1\"]=&gt; bool(false) } (truthy)<\/td><\/tr><tr><td>[1.1, 1.1]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; float(1.1) [1]=&gt; float(1.1) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; float(1.1) [\"1\"]=&gt; float(1.1) } (truthy)<\/td><\/tr><tr><td>[1.1111111, 1.1111111]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; float(1.1111111) [1]=&gt; float(1.1111111) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; float(1.1111111) [\"1\"]=&gt; float(1.1111111) } (truthy)<\/td><\/tr><tr><td>[0.0, 0.0]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; float(0) [1]=&gt; float(0) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; float(0) [\"1\"]=&gt; float(0) } (truthy)<\/td><\/tr><tr><td>[0.0000000, 0.0000000]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; float(0) [1]=&gt; float(0) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; float(0) [\"1\"]=&gt; float(0) } (truthy)<\/td><\/tr><tr><td>[0.0000001, 0.0000001]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; float(1.0E-7) [1]=&gt; float(1.0E-7) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; float(1.0E-7) [\"1\"]=&gt; float(1.0E-7) } (truthy)<\/td><\/tr><tr><td>[0.5000000, 0.5000000]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; float(0.5) [1]=&gt; float(0.5) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; float(0.5) [\"1\"]=&gt; float(0.5) } (truthy)<\/td><\/tr><tr><td>[-1.1, -1.1]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; float(-1.1) [1]=&gt; float(-1.1) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; float(-1.1) [\"1\"]=&gt; float(-1.1) } (truthy)<\/td><\/tr><tr><td>[-1.1111111, -1.1111111]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; float(-1.1111111) [1]=&gt; float(-1.1111111) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; float(-1.1111111) [\"1\"]=&gt; float(-1.1111111) } (truthy)<\/td><\/tr><tr><td>[-0.0, -0.0]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; float(-0) [1]=&gt; float(-0) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; float(-0) [\"1\"]=&gt; float(-0) } (truthy)<\/td><\/tr><tr><td>[-0.0000000, -0.0000000]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; float(-0) [1]=&gt; float(-0) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; float(-0) [\"1\"]=&gt; float(-0) } (truthy)<\/td><\/tr><tr><td>[-0.0000001, -0.0000001]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; float(-1.0E-7) [1]=&gt; float(-1.0E-7) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; float(-1.0E-7) [\"1\"]=&gt; float(-1.0E-7) } (truthy)<\/td><\/tr><tr><td>[-0.5000000, -0.5000000]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; float(-0.5) [1]=&gt; float(-0.5) } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; float(-0.5) [\"1\"]=&gt; float(-0.5) } (truthy)<\/td><\/tr><tr><td>[null, null]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; NULL [1]=&gt; NULL } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; NULL [\"1\"]=&gt; NULL } (truthy)<\/td><\/tr><tr><td>['text', 'text']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(4) \"text\" [1]=&gt; string(4) \"text\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(4) \"text\" [\"1\"]=&gt; string(4) \"text\" } (truthy)<\/td><\/tr><tr><td>[\"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\", \"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\"]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(11) \"I love PHP.\" [1]=&gt; string(11) \"I love PHP.\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(11) \"I love PHP.\" [\"1\"]=&gt; string(11) \"I love PHP.\" } (truthy)<\/td><\/tr><tr><td>['', '']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(0) \"\" [1]=&gt; string(0) \"\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(0) \"\" [\"1\"]=&gt; string(0) \"\" } (truthy)<\/td><\/tr><tr><td>[\"\\x00\", \"\\x00\"]<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(1) \"\" [1]=&gt; string(1) \"\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(1) \"\" [\"1\"]=&gt; string(1) \"\" } (truthy)<\/td><\/tr><tr><td>[' ', ' ']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(1) \" \" [1]=&gt; string(1) \" \" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(1) \" \" [\"1\"]=&gt; string(1) \" \" } (truthy)<\/td><\/tr><tr><td>['\u3000', '\u3000']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(3) \"\u3000\" [1]=&gt; string(3) \"\u3000\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(3) \"\u3000\" [\"1\"]=&gt; string(3) \"\u3000\" } (truthy)<\/td><\/tr><tr><td>['\uff10', '\uff10']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(3) \"\uff10\" [1]=&gt; string(3) \"\uff10\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(3) \"\uff10\" [\"1\"]=&gt; string(3) \"\uff10\" } (truthy)<\/td><\/tr><tr><td>['1', '1']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(1) \"1\" [1]=&gt; string(1) \"1\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(1) \"1\" [\"1\"]=&gt; string(1) \"1\" } (truthy)<\/td><\/tr><tr><td>['0', '0']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(1) \"0\" [1]=&gt; string(1) \"0\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(1) \"0\" [\"1\"]=&gt; string(1) \"0\" } (truthy)<\/td><\/tr><tr><td>['00', '00']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(2) \"00\" [1]=&gt; string(2) \"00\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(2) \"00\" [\"1\"]=&gt; string(2) \"00\" } (truthy)<\/td><\/tr><tr><td>['-1', '-1']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(2) \"-1\" [1]=&gt; string(2) \"-1\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(2) \"-1\" [\"1\"]=&gt; string(2) \"-1\" } (truthy)<\/td><\/tr><tr><td>['-0', '-0']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(2) \"-0\" [1]=&gt; string(2) \"-0\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(2) \"-0\" [\"1\"]=&gt; string(2) \"-0\" } (truthy)<\/td><\/tr><tr><td>['true', 'true']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(4) \"true\" [1]=&gt; string(4) \"true\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(4) \"true\" [\"1\"]=&gt; string(4) \"true\" } (truthy)<\/td><\/tr><tr><td>['false', 'false']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(5) \"false\" [1]=&gt; string(5) \"false\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(5) \"false\" [\"1\"]=&gt; string(5) \"false\" } (truthy)<\/td><\/tr><tr><td>['1.1', '1.1']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(3) \"1.1\" [1]=&gt; string(3) \"1.1\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(3) \"1.1\" [\"1\"]=&gt; string(3) \"1.1\" } (truthy)<\/td><\/tr><tr><td>['1.1111111', '1.1111111']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(9) \"1.1111111\" [1]=&gt; string(9) \"1.1111111\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(9) \"1.1111111\" [\"1\"]=&gt; string(9) \"1.1111111\" } (truthy)<\/td><\/tr><tr><td>['0.0', '0.0']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [0]=&gt; string(3) \"0.0\" } (truthy)<\/td><td>object(stdClass)#50 (1) { [\"0\"]=&gt; string(3) \"0.0\" } (truthy)<\/td><\/tr><tr><td>['0.0000000', '0.0000000']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(9) \"0.0000000\" [1]=&gt; string(9) \"0.0000000\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(9) \"0.0000000\" [\"1\"]=&gt; string(9) \"0.0000000\" } (truthy)<\/td><\/tr><tr><td>['0.0000001', '0.0000001']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(9) \"0.0000001\" [1]=&gt; string(9) \"0.0000001\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(9) \"0.0000001\" [\"1\"]=&gt; string(9) \"0.0000001\" } (truthy)<\/td><\/tr><tr><td>['0.5000000', '0.5000000']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(9) \"0.5000000\" [1]=&gt; string(9) \"0.5000000\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(9) \"0.5000000\" [\"1\"]=&gt; string(9) \"0.5000000\" } (truthy)<\/td><\/tr><tr><td>['-1.1', '-1.1']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(4) \"-1.1\" [1]=&gt; string(4) \"-1.1\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(4) \"-1.1\" [\"1\"]=&gt; string(4) \"-1.1\" } (truthy)<\/td><\/tr><tr><td>['-1.1111111', '-1.1111111']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(10) \"-1.1111111\" [1]=&gt; string(10) \"-1.1111111\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(10) \"-1.1111111\" [\"1\"]=&gt; string(10) \"-1.1111111\" } (truthy)<\/td><\/tr><tr><td>['-0.0', '-0.0']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(4) \"-0.0\" [1]=&gt; string(4) \"-0.0\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(4) \"-0.0\" [\"1\"]=&gt; string(4) \"-0.0\" } (truthy)<\/td><\/tr><tr><td>['-0.0000000', '-0.0000000']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(10) \"-0.0000000\" [1]=&gt; string(10) \"-0.0000000\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(10) \"-0.0000000\" [\"1\"]=&gt; string(10) \"-0.0000000\" } (truthy)<\/td><\/tr><tr><td>['-0.0000001', '-0.0000001']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(10) \"-0.0000001\" [1]=&gt; string(10) \"-0.0000001\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(10) \"-0.0000001\" [\"1\"]=&gt; string(10) \"-0.0000001\" } (truthy)<\/td><\/tr><tr><td>['-0.5000000', '-0.5000000']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(10) \"-0.5000000\" [1]=&gt; string(10) \"-0.5000000\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(10) \"-0.5000000\" [\"1\"]=&gt; string(10) \"-0.5000000\" } (truthy)<\/td><\/tr><tr><td>['null', 'null']<\/td><td>int(1) (truthy)<\/td><td>float(1) (truthy)<\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(2) { [0]=&gt; string(4) \"null\" [1]=&gt; string(4) \"null\" } (truthy)<\/td><td>object(stdClass)#50 (2) { [\"0\"]=&gt; string(4) \"null\" [\"1\"]=&gt; string(4) \"null\" } (truthy)<\/td><\/tr><tr><td>new stdClass()<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(0) { } (falsy)<\/td><td>object(stdClass)#2 (0) { } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 1<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; int(1) } (truthy)<\/td><td>object(stdClass)#3 (1) { [\"value\"]=&gt; int(1) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 0<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#4 (1) { [\"value\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 00<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#5 (1) { [\"value\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = -1<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; int(-1) } (truthy)<\/td><td>object(stdClass)#6 (1) { [\"value\"]=&gt; int(-1) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = -0<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#7 (1) { [\"value\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 0x00000<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; int(0) } (truthy)<\/td><td>object(stdClass)#8 (1) { [\"value\"]=&gt; int(0) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = true<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; bool(true) } (truthy)<\/td><td>object(stdClass)#9 (1) { [\"value\"]=&gt; bool(true) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = false<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; bool(false) } (truthy)<\/td><td>object(stdClass)#10 (1) { [\"value\"]=&gt; bool(false) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 1.1<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; float(1.1) } (truthy)<\/td><td>object(stdClass)#11 (1) { [\"value\"]=&gt; float(1.1) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 1.1111111<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; float(1.1111111) } (truthy)<\/td><td>object(stdClass)#12 (1) { [\"value\"]=&gt; float(1.1111111) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 0.0<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; float(0) } (truthy)<\/td><td>object(stdClass)#13 (1) { [\"value\"]=&gt; float(0) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 0.0000000<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; float(0) } (truthy)<\/td><td>object(stdClass)#14 (1) { [\"value\"]=&gt; float(0) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 0.0000001<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; float(1.0E-7) } (truthy)<\/td><td>object(stdClass)#15 (1) { [\"value\"]=&gt; float(1.0E-7) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 0.5000000<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; float(0.5) } (truthy)<\/td><td>object(stdClass)#16 (1) { [\"value\"]=&gt; float(0.5) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = -1.1<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; float(-1.1) } (truthy)<\/td><td>object(stdClass)#17 (1) { [\"value\"]=&gt; float(-1.1) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = -1.1111111<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; float(-1.1111111) } (truthy)<\/td><td>object(stdClass)#18 (1) { [\"value\"]=&gt; float(-1.1111111) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = -0.0<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; float(-0) } (truthy)<\/td><td>object(stdClass)#19 (1) { [\"value\"]=&gt; float(-0) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = -0.0000000<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; float(-0) } (truthy)<\/td><td>object(stdClass)#20 (1) { [\"value\"]=&gt; float(-0) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = -0.0000001<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; float(-1.0E-7) } (truthy)<\/td><td>object(stdClass)#21 (1) { [\"value\"]=&gt; float(-1.0E-7) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = -0.5000000<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; float(-0.5) } (truthy)<\/td><td>object(stdClass)#22 (1) { [\"value\"]=&gt; float(-0.5) } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 'text'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(4) \"text\" } (truthy)<\/td><td>object(stdClass)#23 (1) { [\"value\"]=&gt; string(4) \"text\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = \"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\"<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(11) \"I love PHP.\" } (truthy)<\/td><td>object(stdClass)#24 (1) { [\"value\"]=&gt; string(11) \"I love PHP.\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = ''<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(0) \"\" } (truthy)<\/td><td>object(stdClass)#25 (1) { [\"value\"]=&gt; string(0) \"\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = \"\\x00\"<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(1) \"\" } (truthy)<\/td><td>object(stdClass)#26 (1) { [\"value\"]=&gt; string(1) \"\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = ' '<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(1) \" \" } (truthy)<\/td><td>object(stdClass)#27 (1) { [\"value\"]=&gt; string(1) \" \" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '\u3000'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(3) \"\u3000\" } (truthy)<\/td><td>object(stdClass)#28 (1) { [\"value\"]=&gt; string(3) \"\u3000\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '\uff10'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(3) \"\uff10\" } (truthy)<\/td><td>object(stdClass)#29 (1) { [\"value\"]=&gt; string(3) \"\uff10\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '1'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(1) \"1\" } (truthy)<\/td><td>object(stdClass)#30 (1) { [\"value\"]=&gt; string(1) \"1\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '0'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(1) \"0\" } (truthy)<\/td><td>object(stdClass)#31 (1) { [\"value\"]=&gt; string(1) \"0\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '00'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(2) \"00\" } (truthy)<\/td><td>object(stdClass)#32 (1) { [\"value\"]=&gt; string(2) \"00\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '-1'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(2) \"-1\" } (truthy)<\/td><td>object(stdClass)#33 (1) { [\"value\"]=&gt; string(2) \"-1\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '-0'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(2) \"-0\" } (truthy)<\/td><td>object(stdClass)#34 (1) { [\"value\"]=&gt; string(2) \"-0\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 'true'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(4) \"true\" } (truthy)<\/td><td>object(stdClass)#35 (1) { [\"value\"]=&gt; string(4) \"true\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 'false'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(5) \"false\" } (truthy)<\/td><td>object(stdClass)#36 (1) { [\"value\"]=&gt; string(5) \"false\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '1.1'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(3) \"1.1\" } (truthy)<\/td><td>object(stdClass)#37 (1) { [\"value\"]=&gt; string(3) \"1.1\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '1.1111111'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(9) \"1.1111111\" } (truthy)<\/td><td>object(stdClass)#38 (1) { [\"value\"]=&gt; string(9) \"1.1111111\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '0.0'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(3) \"0.0\" } (truthy)<\/td><td>object(stdClass)#39 (1) { [\"value\"]=&gt; string(3) \"0.0\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '0.0000000'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(9) \"0.0000000\" } (truthy)<\/td><td>object(stdClass)#40 (1) { [\"value\"]=&gt; string(9) \"0.0000000\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '0.0000001'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(9) \"0.0000001\" } (truthy)<\/td><td>object(stdClass)#41 (1) { [\"value\"]=&gt; string(9) \"0.0000001\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '0.5000000'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(9) \"0.5000000\" } (truthy)<\/td><td>object(stdClass)#42 (1) { [\"value\"]=&gt; string(9) \"0.5000000\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '-1.1'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(4) \"-1.1\" } (truthy)<\/td><td>object(stdClass)#43 (1) { [\"value\"]=&gt; string(4) \"-1.1\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '-1.1111111'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(10) \"-1.1111111\" } (truthy)<\/td><td>object(stdClass)#44 (1) { [\"value\"]=&gt; string(10) \"-1.1111111\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '-0.0'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(4) \"-0.0\" } (truthy)<\/td><td>object(stdClass)#45 (1) { [\"value\"]=&gt; string(4) \"-0.0\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '-0.0000000'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(10) \"-0.0000000\" } (truthy)<\/td><td>object(stdClass)#46 (1) { [\"value\"]=&gt; string(10) \"-0.0000000\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '-0.0000001'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(10) \"-0.0000001\" } (truthy)<\/td><td>object(stdClass)#47 (1) { [\"value\"]=&gt; string(10) \"-0.0000001\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = '-0.5000000'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(10) \"-0.5000000\" } (truthy)<\/td><td>object(stdClass)#48 (1) { [\"value\"]=&gt; string(10) \"-0.5000000\" } (truthy)<\/td><\/tr><tr><td>$object-&gt;value = 'null'<\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td><strong>&nbsp;error<\/strong><\/td><td>bool(true) (truthy)<\/td><td>array(1) { [\"value\"]=&gt; string(4) \"null\" } (truthy)<\/td><td>object(stdClass)#49 (1) { [\"value\"]=&gt; string(4) \"null\" } (truthy)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u5b9f\u969b\u306b\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u305f\u969b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30da\u30fc\u30b8\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002\u753b\u50cf\u3067\u898b\u305f\u3044\u65b9\u3082\u4ee5\u4e0b\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/comcent.co.jp\/blog\/wp-content\/uploads\/2023\/04\/php-cast-results-table.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/comcent.co.jp\/blog\/wp-content\/uploads\/2023\/04\/php-cast-results-table.png\" alt=\"\" class=\"wp-image-2436\"\/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline01 modHeadline\">\u7d50\u679c\u8868\u306e\u8aac\u660e<\/h4>\n\n\n\n<p>\u5217\u306f\u30ad\u30e3\u30b9\u30c8\u306b\u4f7f\u7528\u3057\u305f\u6f14\u7b97\u5b50\u306e\u7a2e\u985e\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>PHP \u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u8f09\u3063\u3066\u3044\u308b\u4ee5\u4e0b\u3092\u5bfe\u8c61\u3068\u3057\u3066\u3044\u307e\u3059\u304c\u3001 (unset) \u306f PHP7.2 \u304b\u3089\u975e\u63a8\u5968\u3068\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u9664\u5916\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote modBlockquote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u4f7f\u7528\u53ef\u80fd\u306a\u30ad\u30e3\u30b9\u30c8\u3092\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>(int)<\/code> - \u6574\u6570(int) \u3078\u306e\u30ad\u30e3\u30b9\u30c8<\/li>\n\n\n\n<li><code>(bool)<\/code> - \u8ad6\u7406\u5024(bool) \u3078\u306e\u30ad\u30e3\u30b9\u30c8<\/li>\n\n\n\n<li><code>(float)<\/code> - float \u3078\u306e\u30ad\u30e3\u30b9\u30c8<\/li>\n\n\n\n<li><code>(string)<\/code> - \u6587\u5b57\u5217(string) \u3078\u306e\u30ad\u30e3\u30b9\u30c8<\/li>\n\n\n\n<li><code>(array)<\/code> - \u914d\u5217(array) \u3078\u306e\u30ad\u30e3\u30b9\u30c8<\/li>\n\n\n\n<li><code>(object)<\/code> - \u30aa\u30d6\u30b8\u30a7\u30af\u30c8(object) \u3078\u306e\u30ad\u30e3\u30b9\u30c8<\/li>\n\n\n\n<li><code>(unset)<\/code> - NULL \u3078\u306e\u30ad\u30e3\u30b9\u30c8<\/li>\n<\/ul>\n\n\n\n<p id=\"block-d23c4e1e-56e6-4255-9051-fb5351b78b0a\">\u5f15\u7528\u5143: <a href=\"https:\/\/www.php.net\/manual\/ja\/language.types.type-juggling.php#language.types.typecasting\">https:\/\/www.php.net\/manual\/ja\/language.types.type-juggling.php#language.types.typecasting<\/a><\/p>\n<\/blockquote>\n\n\n\n<p>\u884c\u306f\u524d\u534a\u304c\u30b9\u30ab\u30e9\u30fc\u5024(\u6570\u5024\u3084\u6587\u5b57\u5217\u306e\u3088\u3046\u306a\u3001\u5358\u767a\u306e\u30c7\u30fc\u30bf)\u3001\u5f8c\u534a\u304c\u914d\u5217\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8907\u5408\u30c7\u30fc\u30bf\u578b\u3092\u6271\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b9\u30ab\u30e9\u30fc\u5024\u306f\u4ee5\u4e0b\u306e 47 \u7a2e\u985e\u304c\u5bfe\u8c61\u3067\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>1<\/li>\n\n\n\n<li>0<\/li>\n\n\n\n<li>00<\/li>\n\n\n\n<li>-1<\/li>\n\n\n\n<li>-0<\/li>\n\n\n\n<li>0x00000<\/li>\n\n\n\n<li>true<\/li>\n\n\n\n<li>false<\/li>\n\n\n\n<li>1.1<\/li>\n\n\n\n<li>1.1111111<\/li>\n\n\n\n<li>0.0<\/li>\n\n\n\n<li>0.0000000<\/li>\n\n\n\n<li>0.0000001<\/li>\n\n\n\n<li>0.5000000<\/li>\n\n\n\n<li>-1.1<\/li>\n\n\n\n<li>-1.1111111<\/li>\n\n\n\n<li>-0.0<\/li>\n\n\n\n<li>-0.0000000<\/li>\n\n\n\n<li>-0.0000001<\/li>\n\n\n\n<li>-0.5000000<\/li>\n\n\n\n<li>null<\/li>\n\n\n\n<li>'text'<\/li>\n\n\n\n<li>\"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\"<\/li>\n\n\n\n<li>''<\/li>\n\n\n\n<li>\"\\x00\"<\/li>\n\n\n\n<li>' '<\/li>\n\n\n\n<li>'\u3000'<\/li>\n\n\n\n<li>'\uff10'<\/li>\n\n\n\n<li>'1'<\/li>\n\n\n\n<li>'0''00'<\/li>\n\n\n\n<li>'-1'<\/li>\n\n\n\n<li>'-0'<\/li>\n\n\n\n<li>'true'<\/li>\n\n\n\n<li>'false'<\/li>\n\n\n\n<li>'1.1'<\/li>\n\n\n\n<li>'1.1111111'<\/li>\n\n\n\n<li>'0.0'<\/li>\n\n\n\n<li>'0.0000000'<\/li>\n\n\n\n<li>'0.0000001'<\/li>\n\n\n\n<li>'0.5000000'<\/li>\n\n\n\n<li>'-1.1'<\/li>\n\n\n\n<li>'-1.1111111'<\/li>\n\n\n\n<li>'-0.0'<\/li>\n\n\n\n<li>'-0.0000000'<\/li>\n\n\n\n<li>'-0.0000001'<\/li>\n\n\n\n<li>'-0.5000000'<\/li>\n\n\n\n<li>'null'<\/li>\n<\/ol>\n\n\n\n<p>\u8907\u5408\u30c7\u30fc\u30bf\u578b\u306f\u914d\u5217\u306e\u5148\u982d\u306b\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u7a7a\u914d\u5217<\/li>\n\n\n\n<li>\u914d\u5217\u306e\u4e2d\u306b\u7a7a\u914d\u5217<\/li>\n\n\n\n<li>\u7a7a\u914d\u5217\u3092\u5305\u3093\u3060 7 \u6b21\u5143\u914d\u5217<\/li>\n<\/ul>\n\n\n\n<p>\u304c\u4e26\u3093\u3060\u3042\u3068\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4e0a\u8a18\u30b9\u30ab\u30e9\u30fc\u5024\u3092 0 \u756a\u76ee\u306b\u6301\u3064\u914d\u5217<\/li>\n\n\n\n<li>\u4e0a\u8a18\u30b9\u30ab\u30e9\u30fc\u5024\u3092 0 \u756a\u76ee\u3068 1 \u756a\u76ee\u306b\u6301\u3064\u914d\u5217<\/li>\n<\/ul>\n\n\n\n<p>\u304c\u7d9a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u914d\u5217\u306e\u5f8c\u306f stdClass \u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u7528\u3044\u3066 object \u578b\u304c\u4e26\u3073\u307e\u3059\u304c\u3001\u5148\u982d\u306e\u307f new stdClass() \u3067\u751f\u6210\u3057\u305f\u3066\u306e object \u3001\u305d\u306e\u3042\u3068\u306f value \u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u4e0a\u8a18\u30b9\u30ab\u30e9\u30fc\u5024\u3092\u6301\u3064 object \u304c\u4e26\u3073\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5404\u30bb\u30eb\u5de6\u7aef\u306b\u306f\u691c\u8a3c\u3059\u308b\u5024\u304c\u5165\u3063\u3066\u3044\u307e\u3059\u3002<br>\u5404\u30bb\u30eb 2 \u5217\u76ee\u304b\u3089\u306f\u5b9f\u969b\u306b\u30ad\u30e3\u30b9\u30c8\u3057\u305f\u5024\u3092 var_dump \u3057\u305f\u5024\u3092\u8f09\u305b\u3066\u3044\u307e\u3059\u3002\u7d9a\u304f\u62ec\u5f27\u5185\u306b\u306f\u3001\u305d\u308c\u3092 if \u6587\u306e\u6761\u4ef6\u5f0f\u90e8\u5206\u3084\u53c2\u8003\u6f14\u7b97\u5b50\u306b\u7528\u3044\u305f\u5834\u5408\u3001\u771f\u507d\u3069\u3061\u3089\u3068\u5224\u5b9a\u3055\u308c\u308b\u304b\u3092 true, false \u3067\u793a\u3057\u3066\u3044\u307e\u3059\u3002<br>\u300cerror\u300d\u3068\u306a\u3063\u3066\u3044\u308b\u90e8\u5206\u306f PHP \u3067 Warning \u304c\u767a\u751f\u3057\u305f\u90e8\u5206\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline01 modHeadline\">\u6539\u3081\u3066\u8868\u3092\u898b\u305f\u6240\u611f\u3001\u6c17\u3092\u4ed8\u3051\u308b\u3079\u304d\u30dd\u30a4\u30f3\u30c8<\/h4>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline02 modMiddleHeading\">(int) \u30ad\u30e3\u30b9\u30c8<\/h4>\n\n\n\n<p>\u4eca\u56de\u521d\u3081\u3066\u77e5\u3063\u305f\u306e\u306f\u3001'0.0' \u3084 '00', '-0' \u306f true \u3068\u3057\u3066\u6271\u308f\u308c\u308b\u70b9\u3067\u3059\u3002\u5024\u3068\u3057\u3066\u306f\u540c\u3058 0 \u3067\u3082\u3001\u5224\u5b9a\u7cfb\u3067\u7279\u5225\u6271\u3044\u3055\u308c\u308b\u306e\u306f '0' \u304c\u552f\u4e00\u306e\u3088\u3046\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001float \u5024\u3092 int \u30ad\u30e3\u30b9\u30c8\u3057\u305f\u7d50\u679c\u3082\u5730\u5473\u306b\u521d\u3081\u3066\u77e5\u308a\u307e\u3057\u305f\u3002<br>\u306a\u3093\u3068\u306a\u304f\u3001\u5c11\u6570\u7b2c\u4e00\u4f4d\u3092\u56db\u6368\u4e94\u5165\u3057\u305f\u5024\u306b\u306a\u308b\u304b\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u5c11\u6570\u90e8\u5206\u306f\u3070\u3063\u3055\u308a\u3068\u5207\u308a\u6368\u3066\u3089\u308c\u308b\u4ed5\u69d8\u3068\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<br>\u3053\u308c\u306f\u6587\u5b57\u5217\u304c\u76f8\u624b\u3067\u3082\u5909\u308f\u3089\u306a\u3044\u3088\u3046\u3067\u3059\u3002<br>\u307e\u305f\u3001\u7a7a\u914d\u5217\u306b\u5bfe\u3057\u3066\u306e\u30ad\u30e3\u30b9\u30c8\u304c 0 \u306b\u306a\u308b\u306e\u306f\u4e88\u60f3\u901a\u308a\u3067\u3059\u304c\u3001\u7a7a\u3067\u306a\u3044\u914d\u5217\u306f\u5185\u5bb9\u6570\u306b\u304b\u304b\u308f\u3089\u305a 1 \u3068\u306a\u308b\u306e\u3082\u521d\u3081\u3066\u77e5\u308a\u307e\u3057\u305f\u3002<br>\u3082\u3057\u304b\u3057\u305f\u3089 count() \u3068\u540c\u3058\u7d50\u679c\u306b\u306a\u308b\u304b\u3082\u3001\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u57fa\u672c\u7684\u306b true \/ false \u3068\u4f3c\u305f\u3088\u3046\u306a\u6319\u52d5\u306b\u306a\u308b\u3088\u3046\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline02 modMiddleHeading\">(float)\u30ad\u30e3\u30b9\u30c8<\/h4>\n\n\n\n<p>floart \u306b\u95a2\u3057\u3066\u306f\u3001\u5143\u306e\u5024\u304c float, \u3082\u3057\u304f\u306f float \u3068\u89e3\u91c8\u3067\u304d\u308b\u6587\u5b57\u5217\u3067\u3042\u308c\u3070 int \u30ad\u30e3\u30b9\u30c8\u3068\u540c\u3058\u4ed5\u69d8\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u7279\u306b\u7656\u306f\u7121\u3044\u3068\u8a00\u3048\u307e\u3059\u3002<br>\u3068\u3044\u3046\u306e\u3082\u3001PHP \u5185\u90e8\u3067\u306f\u6587\u5b57\u5217\u578b(\u3068\u3001\u5909\u63db\u306e\u5fc5\u8981\u304c\u306a\u3044 float \u578b)\u4ee5\u5916\u306e\u5024\u3092\u30ad\u30e3\u30b9\u30c8\u3059\u308b\u3068\u304d\u306b\u3044\u3063\u305f\u3093 int \u578b\u3078\u5909\u63db\u3057\u305f\u5f8c\u306b float \u578b\u306b\u3057\u3066\u3044\u308b\u304b\u3089\u3060\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote modBlockquote is-layout-flow wp-block-quote-is-layout-flow\">\n<h4 class=\"wp-block-heading\">\u4ed6\u306e\u578b\u304b\u3089 float \u3078\u306e\u5909\u63db<a href=\"https:\/\/www.php.net\/manual\/ja\/language.types.float.php#language.types.float.casting.from-other\"> <\/a><\/h4>\n\n\n\n<p>\u6587\u5b57\u5217\u4ee5\u5916\u306e\u5024\u306b\u3064\u3044\u3066\u306f\u3001 \u307e\u305a\u6700\u521d\u306b int \u306b\u5909\u63db\u3055\u308c\u305f\u5f8c\u3001 float \u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002 \u8a73\u7d30\u306f <a href=\"https:\/\/www.php.net\/manual\/ja\/language.types.integer.php#language.types.integer.casting\">\u6574\u6570\u3078\u306e\u5909\u63db<\/a> \u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p id=\"block-d23c4e1e-56e6-4255-9051-fb5351b78b0a\">\u5f15\u7528\u5143: <a href=\"https:\/\/www.php.net\/manual\/ja\/language.types.float.php#language.types.float.casting.from-other\">https:\/\/www.php.net\/manual\/ja\/language.types.float.php#language.types.float.casting.from-other<\/a><\/p>\n<\/blockquote>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline02 modMiddleHeading\">(string)\u30ad\u30e3\u30b9\u30c8<\/h4>\n\n\n\n<p>\u307b\u307c\u307b\u307c\u7d20\u76f4\u306b\u898b\u305f\u76ee\u901a\u308a\u306e\u5024\u306b\u5909\u63db\u3057\u3066\u304f\u308c\u307e\u3059\u304c\u3001true \u306f '1' \u3001false \u304c '' \u3001 null \u3082 '' \u306b\u5909\u63db\u3055\u308c\u308b\u306e\u304c\u76f4\u611f\u3068\u306f\u7570\u306a\u308b\u70b9\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u5909\u63db\u5f8c\u3082 if \u6587\u306a\u3069\u306e\u6761\u4ef6\u5f0f\u3068\u3057\u3066\u8a55\u4fa1\u3057\u305f\u969b\u3082 true \/ false \u304c\u30d6\u30ec\u306a\u3044\u306e\u3067\u3001\u3053\u308c\u306f\u3053\u308c\u3067\u6b63\u3057\u3044\u4ed5\u69d8\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7279\u5fb4\u7684\u306a\u306e\u304c\u8907\u5408\u30c7\u30fc\u30bf\u578b\u304c\u4e00\u8cab\u3057\u3066 PHP \u30a8\u30e9\u30fc\u306b\u306a\u308b\u70b9\u3067\u3059\u3002\u308f\u3056\u308f\u3056 string \u578b\u306b\u30ad\u30e3\u30b9\u30c8\u3059\u308b\u30b1\u30fc\u30b9\u306f\u7121\u3044\u3068\u306f\u601d\u3044\u307e\u3059\u304c\u3001\u7121\u610f\u8b58\u306b\u4f7f\u7528\u3057\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline02 modMiddleHeading\">(bool)\u30ad\u30e3\u30b9\u30c8<\/h4>\n\n\n\n<p>\u3084\u306f\u308a PHP \u306f\u7279\u7570\u306a\u8a00\u8a9e\u3060\u306a\u3001\u3068\u601d\u308f\u305b\u308b\u306e\u306f\u300c'0'\u300d\u3092 Boolean \u306b\u30ad\u30e3\u30b9\u30c8\u3057\u305f\u3068\u304d\u306b false \u3068\u306a\u308b\u70b9\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>JavaScript \u306a\u3069\u306e\u8a00\u8a9e\u3067\u306f\u6587\u5b57\u5217\u306e '0' \u306f truthy \u3068\u5224\u5b9a\u3055\u308c\u307e\u3059\u3002\u5185\u5bb9\u3068\u3057\u3066\u306f 0 \u3067\u3082\u3001\u7a7a\u6587\u5b57\u3067\u306f\u306a\u3044\u306e\u3067\u5f53\u7136\u306a\u6c17\u304c\u3057\u307e\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u5bfe\u3057\u3066 PHP \u3067\u306f '0' \u306f false \u3068\u3057\u3066\u6271\u308f\u308c\u307e\u3059\u3002\u306a\u306b\u304b\u6b74\u53f2\u7684\u306a\u9999\u308a\u304c\u3057\u307e\u3059\u306d\u3002<br>\u5b9f\u52d9\u3067\u3082\u610f\u5916\u3068\u906d\u9047\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u899a\u3048\u3066\u304a\u3044\u3066\u640d\u306f\u306a\u3044\u3001\u3068\u3044\u3046\u3088\u308a\u5fc5\u305a\u899a\u3048\u3066\u304a\u3044\u305f\u65b9\u304c\u826f\u3044\u6319\u52d5\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u3042\u3068\u307b\u304b\u306e\u8a00\u8a9e\u3068\u9055\u3046\u70b9\u306f\u7a7a\u914d\u5217\u304c false \u3068\u8a55\u4fa1\u3055\u308c\u308b\u306e\u3082\u7279\u7570\u3068\u8a00\u3048\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br>\u914d\u5217\u3067\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u96c6\u3092\u8fd4\u3059\u3088\u3046\u306a\u95a2\u6570\u304c\u3042\u3063\u305f\u3068\u3057\u3066\u3001\u7a7a\u914d\u5217\u3092\u8fd4\u3057\u305f\u3068\u304d\u306f\u30a8\u30e9\u30fc\u306a\u3057 = \u6b63\u5e38\u7cfb\u3001\u3068\u3059\u308b\u3088\u3046\u306a\u95a2\u6570\u3092\u8fd4\u308a\u5024\u306e\u578b\u3092 array \u306b\u9650\u5b9a\u3057\u305f\u4e0a\u3067\u4f5c\u6210\u3067\u304d\u308b\u306e\u3067\u3001\u5730\u5473\u306b\u4fbf\u5229\u306a\u4ed5\u69d8\u3060\u3068\u601d\u3044\u307e\u3059\u3002<br>\u5bfe\u3057\u3066\u3001 obeject \u306f\u306a\u3093\u306e\u30e1\u30f3\u30d0\u3082\u6301\u305f\u306a\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u3082\u4e00\u8cab\u3057\u3066 true \u3068\u5224\u5b9a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u30de\u30cb\u30a2\u30c3\u30af\u306a\u3068\u3053\u308d\u3067\u306f '\\x00' \u3001\u3064\u307e\u308a Null \u30d0\u30a4\u30c8\u6587\u5b57\u5217\u304c true \u306b\u306a\u308b\u70b9\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002<br>\u305d\u306e\u307e\u307e HTML \u3068\u3057\u3066\u51fa\u529b\u3055\u308c\u308b\u3068 '' \u3068\u306a\u308b\u6587\u5b57\u3067\u3059\u304c\u3001\u53b3\u5bc6\u306b\u306f '' \u3067\u306f\u306a\u3044\u306e\u3067\u6cb9\u65ad\u3057\u3066\u3044\u308b\u3068\u906d\u9047\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline02 modMiddleHeading\">(array)\u30ad\u30e3\u30b9\u30c8<\/h4>\n\n\n\n<p>\u30b9\u30ab\u30e9\u30fc\u5024\u3092\u5909\u63db\u3057\u305f\u3068\u304d\u306f\u4e00\u8cab\u3057\u3066 [0] \u306b\u305d\u306e\u5024\u3092\u6301\u3063\u305f\u914d\u5217\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u304c\u3001 null \u3060\u3051\u306f\u7279\u5225\u306a\u3088\u3046\u3067\u3001\u7a7a\u914d\u5217\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<br>[0 =&gt; null] \u306f\u624b\u52d5\u3067\u4f5c\u6210\u3067\u304d\u308b\u3082\u306e\u306e\u3001\u30b5\u30dc\u3063\u3066 (array)null \u3068\u3057\u3066\u3082\u671f\u5f85\u3069\u304a\u308a\u306e\u5024\u306b\u306a\u3089\u306a\u3044\u306e\u3067\u3001\u5024\u306f\u4e01\u5be7\u306b\u6307\u5b9a\u3057\u3066\u3042\u3052\u308b\u306e\u304c\u826f\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline02 modMiddleHeading\">(object)\u30ad\u30e3\u30b9\u30c8<\/h4>\n\n\n\n<p>\u307b\u307c\u307b\u307c\u4f7f\u7528\u3057\u306a\u3044\u306e\u3067\u77e5\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u30b9\u30ab\u30e9\u30fc\u5024\u3092 object \u3067\u30ad\u30e3\u30b9\u30c8\u3059\u308b\u3068 scalar \u3068\u3044\u3046\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u305d\u306e\u5024\u304c\u30bb\u30c3\u30c8\u3055\u308c\u305f\u72b6\u614b\u3067 stdClass \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u751f\u6210\u3055\u308c\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote modBlockquote is-layout-flow wp-block-quote-is-layout-flow\">\n<h4 class=\"wp-block-heading\">\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u306e\u5909\u63db<\/h4>\n\n\n\n<p>(\u7565)<\/p>\n\n\n\n<p>\u4e0a\u8a18\u4ee5\u5916\u306e\u5024\u306e\u5834\u5408\u306b\u306f\u3001<code>scalar<\/code> \u3068\u3044\u3046\u540d\u524d\u306e\u30e1\u30f3\u30d0\u5909\u6570\u304c\u5024\u3092\u683c\u7d0d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p id=\"block-d23c4e1e-56e6-4255-9051-fb5351b78b0a\">\u5f15\u7528\u5143: <a href=\"https:\/\/www.php.net\/manual\/ja\/language.types.object.php#language.types.object.casting\">https:\/\/www.php.net\/manual\/ja\/language.types.object.php#language.types.object.casting<\/a><\/p>\n<\/blockquote>\n\n\n\n<p>\u305d\u308c\u4ee5\u5916\u306f\u3060\u3044\u305f\u3044 array \u30ad\u30e3\u30b9\u30c8\u3068\u540c\u69d8\u3067\u3001\u3084\u306f\u308a null \u3092\u76f8\u624b\u306b\u3057\u305f\u3068\u304d\u306f\u7a7a\u306e stdClass \u304c\u751f\u6210\u3055\u308c\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline01 modHeadline\">\u7d50\u679c\u8868\u51fa\u529b PHP \u30b3\u30fc\u30c9<\/h4>\n\n\n\n<p>\u7d50\u679c\u8868\u306b\u3064\u3044\u3066\u306f\u4e0a\u8a18\u306e\u901a\u308a\u3067\u3059\u304c\u3001PHP \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3084\u8a2d\u5b9a\u3001\u74b0\u5883\u3067\u3053\u308c\u3089\u306f\u5909\u308f\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u3001\u5b9f\u969b\u306b\u696d\u52d9\u3078\u5f79\u7acb\u3066\u308b\u306b\u306f\u5b9f\u969b\u306e\u74b0\u5883\u3067\u78ba\u304b\u3081\u308b\u306e\u304c\u4e00\u756a\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u7d50\u679c\u8868\u3092\u78ba\u8a8d\u3059\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u3067\u8868\u793a\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br>PHP \u30d0\u30fc\u30b8\u30e7\u30f3\u306a\u3069\u3082\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u3044\u3056\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u30d1\u30d6\u30ea\u30c3\u30af\u306a\u90e8\u5206\u306b\u7f6e\u304b\u306a\u3044\u65b9\u304c\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code modBlobCode\"><code>&lt;?php\n\/\/Warning \u3092 catch \u3067\u62fe\u3048\u308b\u3088\u3046\u306b\u3059\u308b\nset_error_handler(function($errno, $errstr, $errfile, $errline) {\n  throw new ErrorException($errstr, $errno, 0, $errfile, $errline);\n});\n\n\/\/\u8868\u306e\u5404\u30bb\u30eb\u306b\u8a18\u8f09\u3059\u308b html \u3092\u51fa\u529b\u7528\nfunction castResult($value, $cast) {\n  ob_start();\n  try {\n    switch ($cast) {\n      case 'int':\n        var_dump((int)$value);\n        echo (int)$value ? '&lt;span style=\"color: blue;\"&gt;(truthy)&lt;\/span&gt;' : '&lt;span style=\"color: red;\"&gt;(falsy)&lt;\/span&gt;';\n        break;\n      case 'bool':\n        var_dump((bool)$value);\n        echo (bool)$value ? '&lt;span style=\"color: blue;\"&gt;(truthy)&lt;\/span&gt;' : '&lt;span style=\"color: red;\"&gt;(falsy)&lt;\/span&gt;';\n        break;\n      case 'float':\n        var_dump((float)$value);\n        echo (float)$value ? '&lt;span style=\"color: blue;\"&gt;(truthy)&lt;\/span&gt;' : '&lt;span style=\"color: red;\"&gt;(falsy)&lt;\/span&gt;';\n        break;\n      case 'string':\n        var_dump((string)$value);\n        echo (string)$value ? '&lt;span style=\"color: blue;\"&gt;(truthy)&lt;\/span&gt;' : '&lt;span style=\"color: red;\"&gt;(falsy)&lt;\/span&gt;';\n        break;\n      case 'array':\n        var_dump((array)$value);\n        echo (array)$value ? '&lt;span style=\"color: blue;\"&gt;(truthy)&lt;\/span&gt;' : '&lt;span style=\"color: red;\"&gt;(falsy)&lt;\/span&gt;';\n        break;\n      case 'object':\n        var_dump((object)$value);\n        echo (object)$value ? '&lt;span style=\"color: blue;\"&gt;(truthy)&lt;\/span&gt;' : '&lt;span style=\"color: red;\"&gt;(falsy)&lt;\/span&gt;';\n        break;\n    }\n  }\n\n  catch (Throwable $exception) {\n    echo '&lt;strong title=\"'.$exception-&gt;getMessage().'\" style=\"color: purple\"&gt;&amp;nbsp;error&lt;\/strong&gt;';\n  }\n\n  return ob_get_clean();\n};\n\n\/\/1 \u6bb5\u76ee: int \u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\n\/\/2 \u6bb5\u76ee: true \u3068 false\n\/\/2 \u6bb5\u76ee: float \u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\n\/\/4 \u6bb5\u76ee: null\n\/\/5 \u6bb5\u76ee: \u9069\u5f53\u306a\u6587\u5b57\u5217\u300116\u9032\u6570\u8868\u8a18\u3001\u7a7a\u6587\u5b57\u3001Null \u30d0\u30a4\u30c8\u3001\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u3001\u5168\u89d2\u30b9\u30da\u30fc\u30b9\u3001\u5168\u89d2\uff10\uff08\u30bc\u30ed\uff09\n\/\/6 \u6bb5\u76ee: 1 ~ 4 \u6bb5\u306e\u5185\u5bb9\u3092\u6587\u5b57\u5217\u306b\u3057\u305f\u3082\u306e\n\/\/7 \u6bb5\u76ee: \u7a7a\u914d\u5217\u3001\u914d\u5217\u306e\u4e2d\u306b\u7a7a\u914d\u5217\u3001\u7a7a\u914d\u5217\u3092\u5305\u3093\u3060 7 \u6b21\u5143\u914d\u5217\n\/\/8 \u6bb5\u76ee: 1 ~ 6 \u6bb5\u306e\u5185\u5bb9\u3092 0 \u756a\u76ee\u306b\u6301\u3064\u914d\u5217\n\/\/8 \u6bb5\u76ee: 1 ~ 6 \u6bb5\u306e\u5185\u5bb9\u3092 0, 1 \u756a\u76ee\u306b\u6301\u3064\u914d\u5217\n\/\/9 \u6bb5\u76ee: \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3057\u305f\u76f4\u5f8c\u306e stdClass\n$challengers = &#91;\n  &#91;'value' =&gt; 1, 'label' =&gt; '1'], &#91;'value' =&gt; 0, 'label' =&gt; '0'], &#91;'value' =&gt; 00, 'label' =&gt; '00'], &#91;'value' =&gt; -1, 'label' =&gt; '-1'], &#91;'value' =&gt; -0, 'label' =&gt; '-0'], &#91;'value' =&gt; 0x00000, 'label' =&gt; '0x00000'],\n  &#91;'value' =&gt; true, 'label' =&gt; 'true'], &#91;'value' =&gt; false, 'label' =&gt; 'false'],\n  &#91;'value' =&gt; 1.1, 'label' =&gt; '1.1'], &#91;'value' =&gt; 1.1111111, 'label' =&gt; '1.1111111'], &#91;'value' =&gt; 0.0, 'label' =&gt; '0.0'], &#91;'value' =&gt; 0.0000000, 'label' =&gt; '0.0000000'], &#91;'value' =&gt; 0.0000001, 'label' =&gt; '0.0000001'], &#91;'value' =&gt; 0.5000000, 'label' =&gt; '0.5000000'], &#91;'value' =&gt; -1.1, 'label' =&gt; '-1.1'], &#91;'value' =&gt; -1.1111111, 'label' =&gt; '-1.1111111'], &#91;'value' =&gt; -0.0, 'label' =&gt; '-0.0'], &#91;'value' =&gt; -0.0000000, 'label' =&gt; '-0.0000000'], &#91;'value' =&gt; -0.0000001, 'label' =&gt; '-0.0000001'], &#91;'value' =&gt; -0.5000000, 'label' =&gt; '-0.5000000'],\n  &#91;'value' =&gt; null, 'label' =&gt; 'null'],\n  &#91;'value' =&gt; 'text', 'label' =&gt; \"'text'\"], &#91;'value' =&gt;\"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\", 'label' =&gt; '\"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\"'], &#91;'value' =&gt; '', 'label' =&gt; \"''\"], &#91;'value' =&gt; \"\\x00\", 'label' =&gt; '\"\\x00\"'], &#91;'value' =&gt; ' ', 'label' =&gt; \"' '\"], &#91;'value' =&gt; '\u3000', 'label' =&gt; \"'\u3000'\"], &#91;'value' =&gt; '\uff10', 'label' =&gt; \"'\uff10'\"],\n  &#91;'value' =&gt; '1', 'label' =&gt; \"'1'\"], &#91;'value' =&gt; '0', 'label' =&gt; \"'0'\"],&#91;'value' =&gt; '00', 'label' =&gt; \"'00'\"], &#91;'value' =&gt; '-1', 'label' =&gt; \"'-1'\"], &#91;'value' =&gt; '-0', 'label' =&gt; \"'-0'\"], &#91;'value' =&gt; 'true', 'label' =&gt; \"'true'\"], &#91;'value' =&gt; 'false', 'label' =&gt; \"'false'\"], &#91;'value' =&gt; '1.1', 'label' =&gt; \"'1.1'\"], &#91;'value' =&gt; '1.1111111', 'label' =&gt; \"'1.1111111'\"], &#91;'value' =&gt; '0.0', 'label' =&gt; \"'0.0'\"], &#91;'value' =&gt; '0.0000000', 'label' =&gt; \"'0.0000000'\"], &#91;'value' =&gt; '0.0000001', 'label' =&gt; \"'0.0000001'\"], &#91;'value' =&gt; '0.5000000', 'label' =&gt; \"'0.5000000'\"], &#91;'value' =&gt; '-1.1', 'label' =&gt; \"'-1.1'\"], &#91;'value' =&gt; '-1.1111111', 'label' =&gt; \"'-1.1111111'\"], &#91;'value' =&gt; '-0.0', 'label' =&gt; \"'-0.0'\"], &#91;'value' =&gt; '-0.0000000', 'label' =&gt; \"'-0.0000000'\"], &#91;'value' =&gt; '-0.0000001', 'label' =&gt; \"'-0.0000001'\"], &#91;'value' =&gt; '-0.5000000', 'label' =&gt; \"'-0.5000000'\"], &#91;'value' =&gt; 'null', 'label' =&gt; \"'null'\"],\n  &#91;'value' =&gt; &#91;], 'label' =&gt; '&#91;]'], &#91;'value' =&gt; &#91;&#91;]], 'label' =&gt; '&#91;&#91;]]'], &#91;'value' =&gt; &#91;&#91;&#91;&#91;&#91;&#91;&#91;]]]]]]], 'label' =&gt; '&#91;&#91;&#91;&#91;&#91;&#91;&#91;]]]]]]]'],\n  &#91;'value' =&gt; &#91;1], 'label' =&gt; '&#91;1]'], &#91;'value' =&gt; &#91;0], 'label' =&gt; '&#91;0]'], &#91;'value' =&gt; &#91;00], 'label' =&gt; '&#91;00]'], &#91;'value' =&gt; &#91;-1], 'label' =&gt; '&#91;-1]'], &#91;'value' =&gt; &#91;-0], 'label' =&gt; '&#91;-0]'], &#91;'value' =&gt; &#91;0x00000], 'label' =&gt; '&#91;0x00000]'], &#91;'value' =&gt; &#91;true], 'label' =&gt; '&#91;true]'], &#91;'value' =&gt; &#91;false], 'label' =&gt; '&#91;false]'], &#91;'value' =&gt; &#91;1.1], 'label' =&gt; '&#91;1.1]'], &#91;'value' =&gt; &#91;1.1111111], 'label' =&gt; '&#91;1.1111111]'], &#91;'value' =&gt; &#91;0.0], 'label' =&gt; '&#91;0.0]'], &#91;'value' =&gt; &#91;0.0000000], 'label' =&gt; '&#91;0.0000000]'], &#91;'value' =&gt; &#91;0.0000001], 'label' =&gt; '&#91;0.0000001]'], &#91;'value' =&gt; &#91;0.5000000], 'label' =&gt; '&#91;0.5000000]'], &#91;'value' =&gt; &#91;-1.1], 'label' =&gt; '&#91;-1.1]'], &#91;'value' =&gt; &#91;-1.1111111], 'label' =&gt; '&#91;-1.1111111]'], &#91;'value' =&gt; &#91;-0.0], 'label' =&gt; '&#91;-0.0]'], &#91;'value' =&gt; &#91;-0.0000000], 'label' =&gt; '&#91;-0.0000000]'], &#91;'value' =&gt; &#91;-0.0000001], 'label' =&gt; '&#91;-0.0000001]'], &#91;'value' =&gt; &#91;-0.5000000], 'label' =&gt; '&#91;-0.5000000]'], &#91;'value' =&gt; &#91;null], 'label' =&gt; '&#91;null]'], &#91;'value' =&gt; &#91;'text'], 'label' =&gt; \"&#91;'text']\"], &#91;'value' =&gt; &#91;\"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\"], 'label' =&gt; '&#91;\"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\"]'], &#91;'value' =&gt; &#91;''], 'label' =&gt; \"&#91;'']\"], &#91;'value' =&gt; &#91;\"\\x00\"], 'label' =&gt; '&#91;\"\\x00\"]'], &#91;'value' =&gt; &#91;' '], 'label' =&gt; \"&#91;' ']\"], &#91;'value' =&gt; &#91;'\u3000'], 'label' =&gt; \"&#91;'\u3000']\"], &#91;'value' =&gt; &#91;'\uff10'], 'label' =&gt; \"&#91;'\uff10']\"], &#91;'value' =&gt; &#91;'1'], 'label' =&gt; \"&#91;'1']\"], &#91;'value' =&gt; &#91;'0'], 'label' =&gt; \"&#91;'0']\"], &#91;'value' =&gt; &#91;'00'], 'label' =&gt; \"&#91;'00']\"], &#91;'value' =&gt; &#91;'-1'], 'label' =&gt; \"&#91;'-1']\"], &#91;'value' =&gt; &#91;'-0'], 'label' =&gt; \"&#91;'-0']\"], &#91;'value' =&gt; &#91;'true'], 'label' =&gt; \"&#91;'true']\"], &#91;'value' =&gt; &#91;'false'], 'label' =&gt; \"&#91;'false']\"], &#91;'value' =&gt; &#91;'1.1'], 'label' =&gt; \"&#91;'1.1']\"], &#91;'value' =&gt; &#91;'1.1111111'], 'label' =&gt; \"&#91;'1.1111111']\"], &#91;'value' =&gt; &#91;'0.0'], 'label' =&gt; \"&#91;'0.0']\"], &#91;'value' =&gt; &#91;'0.0000000'], 'label' =&gt; \"&#91;'0.0000000']\"], &#91;'value' =&gt; &#91;'0.0000001'], 'label' =&gt; \"&#91;'0.0000001']\"], &#91;'value' =&gt; &#91;'0.5000000'], 'label' =&gt; \"&#91;'0.5000000']\"], &#91;'value' =&gt; &#91;'-1.1'], 'label' =&gt; \"&#91;'-1.1']\"], &#91;'value' =&gt; &#91;'-1.1111111'], 'label' =&gt; \"&#91;'-1.1111111']\"], &#91;'value' =&gt; &#91;'-0.0'], 'label' =&gt; \"&#91;'-0.0']\"], &#91;'value' =&gt; &#91;'-0.0000000'], 'label' =&gt; \"&#91;'-0.0000000']\"], &#91;'value' =&gt; &#91;'-0.0000001'], 'label' =&gt; \"&#91;'-0.0000001']\"], &#91;'value' =&gt; &#91;'-0.5000000'], 'label' =&gt; \"&#91;'-0.5000000']\"], &#91;'value' =&gt; &#91;'null'], 'label' =&gt; \"&#91;'null']\"],\n  &#91;'value' =&gt; &#91;1, 1], 'label' =&gt; \"&#91;1, 1]\"], &#91;'value' =&gt; &#91;0, 0], 'label' =&gt; \"&#91;0, 0]\"], &#91;'value' =&gt; &#91;00, 00], 'label' =&gt; \"&#91;00, 00]\"], &#91;'value' =&gt; &#91;-1, -1], 'label' =&gt; \"&#91;-1, -1]\"], &#91;'value' =&gt; &#91;-0, -0], 'label' =&gt; \"&#91;-0, -0]\"], &#91;'value' =&gt; &#91;0x00000, 0x00000], 'label' =&gt; \"&#91;0x00000, 0x00000]\"], &#91;'value' =&gt; &#91;true, true], 'label' =&gt; \"&#91;true, true]\"], &#91;'value' =&gt; &#91;false, false], 'label' =&gt; \"&#91;false, false]\"], &#91;'value' =&gt; &#91;1.1, 1.1], 'label' =&gt; \"&#91;1.1, 1.1]\"], &#91;'value' =&gt; &#91;1.1111111, 1.1111111], 'label' =&gt; \"&#91;1.1111111, 1.1111111]\"], &#91;'value' =&gt; &#91;0.0, 0.0], 'label' =&gt; \"&#91;0.0, 0.0]\"], &#91;'value' =&gt; &#91;0.0000000, 0.0000000], 'label' =&gt; \"&#91;0.0000000, 0.0000000]\"], &#91;'value' =&gt; &#91;0.0000001, 0.0000001], 'label' =&gt; \"&#91;0.0000001, 0.0000001]\"], &#91;'value' =&gt; &#91;0.5000000, 0.5000000], 'label' =&gt; \"&#91;0.5000000, 0.5000000]\"], &#91;'value' =&gt; &#91;-1.1, -1.1], 'label' =&gt; \"&#91;-1.1, -1.1]\"], &#91;'value' =&gt; &#91;-1.1111111, -1.1111111], 'label' =&gt; \"&#91;-1.1111111, -1.1111111]\"], &#91;'value' =&gt; &#91;-0.0, -0.0], 'label' =&gt; \"&#91;-0.0, -0.0]\"], &#91;'value' =&gt; &#91;-0.0000000, -0.0000000], 'label' =&gt; \"&#91;-0.0000000, -0.0000000]\"], &#91;'value' =&gt; &#91;-0.0000001, -0.0000001], 'label' =&gt; \"&#91;-0.0000001, -0.0000001]\"], &#91;'value' =&gt; &#91;-0.5000000, -0.5000000], 'label' =&gt; \"&#91;-0.5000000, -0.5000000]\"], &#91;'value' =&gt; &#91;null, null], 'label' =&gt; \"&#91;null, null]\"], &#91;'value' =&gt; &#91;'text', 'text'], 'label' =&gt; \"&#91;'text', 'text']\"], &#91;'value' =&gt; &#91;\"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\", \"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\"], 'label' =&gt; '&#91;\"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\", \"\\x49\\x20\\x6c\\x6f\\x76\\x65\\x20\\x50\\x48\\x50\\x2e\"]'], &#91;'value' =&gt; &#91;'', ''], 'label' =&gt; \"&#91;'', '']\"], &#91;'value' =&gt; &#91;\"\\x00\", \"\\x00\"], 'label' =&gt; '&#91;\"\\x00\", \"\\x00\"]'], &#91;'value' =&gt; &#91;' ', ' '], 'label' =&gt; \"&#91;' ', ' ']\"], &#91;'value' =&gt; &#91;'\u3000', '\u3000'], 'label' =&gt; \"&#91;'\u3000', '\u3000']\"], &#91;'value' =&gt; &#91;'\uff10', '\uff10'], 'label' =&gt; \"&#91;'\uff10', '\uff10']\"], &#91;'value' =&gt; &#91;'1', '1'], 'label' =&gt; \"&#91;'1', '1']\"], &#91;'value' =&gt; &#91;'0', '0'], 'label' =&gt; \"&#91;'0', '0']\"], &#91;'value' =&gt; &#91;'00', '00'], 'label' =&gt; \"&#91;'00', '00']\"], &#91;'value' =&gt; &#91;'-1', '-1'], 'label' =&gt; \"&#91;'-1', '-1']\"], &#91;'value' =&gt; &#91;'-0', '-0'], 'label' =&gt; \"&#91;'-0', '-0']\"], &#91;'value' =&gt; &#91;'true', 'true'], 'label' =&gt; \"&#91;'true', 'true']\"], &#91;'value' =&gt; &#91;'false', 'false'], 'label' =&gt; \"&#91;'false', 'false']\"], &#91;'value' =&gt; &#91;'1.1', '1.1'], 'label' =&gt; \"&#91;'1.1', '1.1']\"], &#91;'value' =&gt; &#91;'1.1111111', '1.1111111'], 'label' =&gt; \"&#91;'1.1111111', '1.1111111']\"], &#91;'value' =&gt; &#91;'0.0'], 'label' =&gt; \"&#91;'0.0', '0.0']\"], &#91;'value' =&gt; &#91;'0.0000000', '0.0000000'], 'label' =&gt; \"&#91;'0.0000000', '0.0000000']\"], &#91;'value' =&gt; &#91;'0.0000001', '0.0000001'], 'label' =&gt; \"&#91;'0.0000001', '0.0000001']\"], &#91;'value' =&gt; &#91;'0.5000000', '0.5000000'], 'label' =&gt; \"&#91;'0.5000000', '0.5000000']\"], &#91;'value' =&gt; &#91;'-1.1', '-1.1'], 'label' =&gt; \"&#91;'-1.1', '-1.1']\"], &#91;'value' =&gt; &#91;'-1.1111111', '-1.1111111'], 'label' =&gt; \"&#91;'-1.1111111', '-1.1111111']\"], &#91;'value' =&gt; &#91;'-0.0', '-0.0'], 'label' =&gt; \"&#91;'-0.0', '-0.0']\"], &#91;'value' =&gt; &#91;'-0.0000000', '-0.0000000'], 'label' =&gt; \"&#91;'-0.0000000', '-0.0000000']\"], &#91;'value' =&gt; &#91;'-0.0000001', '-0.0000001'], 'label' =&gt; \"&#91;'-0.0000001', '-0.0000001']\"], &#91;'value' =&gt; &#91;'-0.5000000', '-0.5000000'], 'label' =&gt; \"&#91;'-0.5000000', '-0.5000000']\"], &#91;'value' =&gt; &#91;'null', 'null'], 'label' =&gt; \"&#91;'null', 'null']\"],\n  &#91;'value' =&gt; new stdClass(), 'label' =&gt; 'new stdClass()']\n];\n\n\/\/\u4e0a\u8a18\u914d\u5217\u4e2d\u3001\u30b9\u30e9\u30ab\u30fc\u5024\u306e\u307f\u3092\u9078\u5225\u3057\u3066\u3001\u305d\u308c\u3092 value \u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u6301\u3064 stdClass \u3092\u8ffd\u52a0\u3059\u308b\n$objects = &#91;];\nforeach ($challengers as $challenger)\n{\n  if ( ! is_scalar($challenger&#91;'value']))\n  {\n    continue;\n  }\n\n  $object = new stdClass();\n  $object-&gt;value = $challenger&#91;'value'];\n  $objects&#91;] = &#91;'value' =&gt; $object, 'label' =&gt; '$object-&gt;value = '.$challenger&#91;'label']];\n}\n$challengers = array_merge($challengers, $objects);\n\n\/\/\u30ad\u30e3\u30b9\u30c8\u6f14\u7b97\u5b50\u4e00\u89a7\n$casts = &#91;'int', 'float', 'string', 'bool', 'array', 'object'];\n?&gt;\n&lt;!doctype html&gt;\n&lt;html lang=\"ja\"&gt;\n&lt;head&gt;\n  &lt;meta charset=\"utf-8\"&gt;\n  &lt;meta name=\"viewport\" content=\"width=device-width\"&gt;\n  &lt;meta name=\"format-detection\" content=\"telephone=no\"&gt;\n  &lt;title&gt;PHP \u30ad\u30e3\u30b9\u30c8\u8868&lt;\/title&gt;\n  &lt;style&gt;\n      table {\n          font-size: 12px;\n          border: #aaa solid 1px;\n          margin: 5px;\n          border-collapse: collapse;\n          table-layout: fixed;\n          text-align: center;\n      }\n      tr:nth-child(even) {\n          background-color: rgba(200, 200, 200, .5);\n      }\n      th, td {\n          border: #aaa solid 1px;\n          padding: 5px;\n          min-width: 100px;\n      }\n      td:first-child {\n          font-weight: 700;\n      }\n  &lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;h1&gt;PHP cast results table(PHP Version: &lt;?php echo phpversion(); ?&gt;)&lt;\/h1&gt;\n&lt;table&gt;\n  &lt;thead&gt;\n  &lt;tr&gt;\n    &lt;th&gt;&amp;nbsp;&lt;\/th&gt;\n    &lt;?php foreach ($casts as $cast): ?&gt;\n      &lt;th&gt;(&lt;?php echo $cast; ?&gt;)&lt;\/th&gt;\n    &lt;?php endforeach; ?&gt;\n  &lt;\/tr&gt;\n  &lt;\/thead&gt;\n  &lt;tbody&gt;\n  &lt;?php foreach ($challengers as $challenger): ?&gt;\n    &lt;tr&gt;\n      &lt;td&gt;&lt;?php echo $challenger&#91;'label']; ?&gt;&lt;\/td&gt;\n      &lt;?php foreach ($casts as $cast): ?&gt;\n        &lt;td&gt;&lt;?php echo castResult($challenger&#91;'value'], $cast); ?&gt;&lt;\/td&gt;\n      &lt;?php endforeach; ?&gt;\n    &lt;\/tr&gt;\n  &lt;?php endforeach; ?&gt;\n  &lt;\/tbody&gt;\n&lt;\/table&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-comcent-blog-headline01 modHeadline\">\u307e\u3068\u3081<\/h4>\n\n\n\n<p>PHP \u306f\u52d5\u7684\u578b\u4ed8\u3051\u306e\u8a00\u8a9e\u3067\u3059\u304c\u3001\u3067\u306f\u958b\u767a\u8005\u304c\u5168\u7136\u578b\u3092\u6c17\u306b\u3057\u306a\u3044\u3067\u958b\u767a\u304c\u3067\u304d\u308b\u304b\u3068\u3044\u3046\u3068\u305d\u3093\u306a\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u95a2\u6570\u3084\u30e1\u30bd\u30c3\u30c9\u3092\u4ecb\u3057\u3066\u5024\u304c\u53d7\u3051\u6e21\u3055\u308c\u308b\u5834\u5408\u3084\u3001\u4e8c\u3064\u306e\u5024\u306e\u6bd4\u8f03\u306a\u3069\u3001\u578b\u304c\u5408\u3063\u3066\u3044\u308b\u524d\u63d0\u3067\u306a\u3044\u3068\u601d\u308f\u306c\u6319\u52d5\u3068\u306a\u3063\u3066\u3057\u307e\u3046\u51e6\u7406\u306f\u591a\u3005\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3093\u306a\u3068\u304d\u306b\u4fbf\u5229\u304b\u3064\u3001\u4f4e\u30b3\u30b9\u30c8\u3067\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u51fa\u308b\u306e\u304c PHP \u306e\u7d44\u307f\u8fbc\u307f\u30ad\u30e3\u30b9\u30c8\u6f14\u7b97\u5b50\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u7279\u306b PHP \u3092\u5b66\u3073\u59cb\u3081\u3060\u3068\u7406\u89e3\u304c\u9762\u5012\u306a\u90e8\u5206\u3067\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u4f7f\u3044\u3053\u306a\u3057\u3066\u3044\u304f\u3068\u305d\u306e\u3046\u3061\u6319\u52d5\u304c\u982d\u306b\u67d3\u307f\u3064\u3044\u3066\u304f\u308b\u306e\u3067\u3001\u662f\u975e\u3046\u307e\u304f\u3064\u304b\u3044\u3053\u306a\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP \u3092\u672c\u683c\u7684\u306b\u66f8\u304d\u59cb\u3081\u3066\u304b\u3089 7 \u5e74\u304f\u3089\u3044\u7d4c\u3061\u307e\u3059\u3002 \u6700\u8fd1\u306f\u30ad\u30e3\u30b9\u30c8\u7d50\u679c\u304c\u3069\u3046\u306a\u308b\u304b\u30b0\u30b0\u308b\u3053\u3068\u306f\u5c11\u306a\u304f\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u305d\u308c\u3067\u3082\u7d50\u679c\u306e\u4e00\u89a7\u8868\u304c\u3042\u3063\u305f\u3089\u4fbf\u5229\u3060\u308d\u3046\u306a\u3041\u3001\u3068\u601d\u3063\u3066 7 \u5e74\u30b5\u30dc\u308a\u307e\u3057\u305f\u3002 \u30d6\u30ed\u30b0\u3092\u66f8\u304f\u30cd\u30bf\u3092 [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":2440,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[35,147,36,146],"coauthors":[45],"class_list":["post-2429","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-backend","tag-php","tag-147","tag-36","tag-146"],"author_meta":{"nickname":"N.Go","position":"\u30d7\u30ed\u30b0\u30e9\u30de\u30fc","icon_url":"https:\/\/comcent.co.jp\/blog\/images\/authorNg-150x150.png","author_url":"https:\/\/comcent.co.jp\/blog\/archives\/author\/noji\/"},"tag_names":["php","\u30ad\u30e3\u30b9\u30c8","\u30d0\u30c3\u30af\u30a8\u30f3\u30c9","\u578b"],"thumbnail_url":"https:\/\/comcent.co.jp\/blog\/wp-content\/uploads\/2023\/04\/noji-2023-04-01-blog-thumbnail-300x200.jpg","_links":{"self":[{"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/posts\/2429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=2429"}],"version-history":[{"count":13,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/posts\/2429\/revisions"}],"predecessor-version":[{"id":2580,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/posts\/2429\/revisions\/2580"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/media\/2440"}],"wp:attachment":[{"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=2429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=2429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=2429"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/comcent.co.jp\/blog\/wp-json\/wp\/v2\/coauthors?post=2429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}