{"id":818,"date":"2025-08-04T17:22:55","date_gmt":"2025-08-04T08:22:55","guid":{"rendered":"https:\/\/nexive.tech\/?p=818"},"modified":"2025-08-04T17:22:55","modified_gmt":"2025-08-04T08:22:55","slug":"%e3%80%90%e3%82%b5%e3%82%af%e3%83%83%e3%81%a8%e8%a7%a3%e8%aa%ac%e3%80%91php%e3%81%a7%e7%99%ba%e7%94%9f%e3%81%99%e3%82%8b%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e7%a8%ae%e9%a1%9e%e3%81%be%e3%81%a8","status":"publish","type":"post","link":"https:\/\/nexive.tech\/?p=818","title":{"rendered":"\u3010\u30b5\u30af\u30c3\u3068\u89e3\u8aac\u3011PHP\u3067\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u306e\u7a2e\u985e\u307e\u3068\u3081\uff08Notice \/ Warning \/ Fatal\uff09"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">1. \u672c\u8a18\u4e8b\u306e\u30dd\u30a4\u30f3\u30c8<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PHP\u306b\u304a\u3051\u308b\u30a8\u30e9\u30fc\u306e\u7a2e\u985e\uff08Notice \/ Warning \/ Fatal\uff09\u306e\u9055\u3044\u3092\u6574\u7406<\/li>\n\n\n\n<li>\u5404\u30a8\u30e9\u30fc\u306e\u4ee3\u8868\u4f8b\u3068\u5b9f\u884c\u6642\u306e\u6319\u52d5\u3092\u3001\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u7d39\u4ecb<\/li>\n\n\n\n<li>\u5b9f\u52d9\u306b\u304a\u3051\u308b\u5f71\u97ff\u5ea6\u3068\u5bfe\u51e6\u65b9\u6cd5\u3092\u660e\u78ba\u5316<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">2. PHP\u306e\u30a8\u30e9\u30fc\u7a2e\u5225\u3068\u306f\uff1f<\/h2>\n\n\n\n<p>PHP\u3067\u306f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u4e2d\u306b\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u3068\u3001\u30a8\u30e9\u30fc\u3068\u3057\u3066\u901a\u77e5\u3055\u308c\u307e\u3059\u3002<br>\u30a8\u30e9\u30fc\u306b\u306f\u91cd\u5927\u5ea6\u3084\u5b9f\u884c\u7d99\u7d9a\u53ef\u5426\u306b\u5fdc\u3058\u3066\u3044\u304f\u3064\u304b\u306e\u5206\u985e\u304c\u3042\u308a\u3001\u4e3b\u306b\u4ee5\u4e0b\u306e3\u7a2e\u985e\u304c\u4ee3\u8868\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Notice\uff08\u901a\u77e5\uff09\uff1a\u8efd\u5fae\u306a\u554f\u984c\u3002\u5b9f\u884c\u306f\u7d99\u7d9a\u3055\u308c\u308b<\/li>\n\n\n\n<li>Warning\uff08\u8b66\u544a\uff09\uff1a\u7121\u8996\u3067\u304d\u308b\u304c\u3001\u6f5c\u5728\u7684\u306a\u4e0d\u5177\u5408\u306e\u5146\u5019<\/li>\n\n\n\n<li>Fatal Error\uff08\u81f4\u547d\u7684\u30a8\u30e9\u30fc\uff09\uff1a\u5373\u6642\u306b\u5b9f\u884c\u304c\u505c\u6b62\u3055\u308c\u308b<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u308c\u3089\u306f\u30c7\u30d0\u30c3\u30b0\u3084\u30ed\u30b0\u51fa\u529b\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u5f79\u5272\u3092\u6301\u3061\u307e\u3059\u3002<br>\u307e\u305f\u3001PHP\u306e\u8a2d\u5b9a\uff08<code>error_reporting<\/code>\u3084<code>display_errors<\/code>\uff09\u306b\u3088\u308a\u8868\u793a\u3055\u308c\u308b\u304b\u3069\u3046\u304b\u304c\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u52d9\u4e0a\u3067\u306f\u3001Notice\u3084Warning\u3092\u653e\u7f6e\u3059\u308b\u3068\u5f8c\u306b\u5927\u304d\u306a\u30d0\u30b0\u306b\u767a\u5c55\u3059\u308b\u30b1\u30fc\u30b9\u3082\u3042\u308b\u305f\u3081\u3001\u660e\u793a\u7684\u306b\u5bfe\u51e6\u3059\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. \u8a73\u7d30\u89e3\u8aac<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Notice\uff1a\u672a\u5b9a\u7fa9\u5909\u6570\u306a\u3069\u306e\u8efd\u5fae\u306a\u30df\u30b9<\/h3>\n\n\n\n<p>Notice\u306f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u3092\u59a8\u3052\u306a\u3044\u8efd\u5fae\u306a\u554f\u984c\u3067\u3059\u3002<br>\u4f8b\u3048\u3070\u3001\u672a\u5b9a\u7fa9\u306e\u5909\u6570\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068Notice\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#1e1e1e\"><span style=\"background:#c7c7c7;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#1e1e1e\">PHP<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;?php\n\/\/ \u672a\u5b9a\u7fa9\u5909\u6570\u306b\u30a2\u30af\u30bb\u30b9\necho $name;\n\/\/ \u51fa\u529b: Notice: Undefined variable: name\n?>\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">&lt;?php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/ \u672a\u5b9a\u7fa9\u5909\u6570\u306b\u30a2\u30af\u30bb\u30b9<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">$name<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/ \u51fa\u529b: Notice: Undefined variable: name<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">?&gt;<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u3001\u5909\u6570\u306e\u521d\u671f\u5316\u6f0f\u308c\u3084\u30bf\u30a4\u30dd\u3092\u7591\u3044\u3001\u4e8b\u524d\u306bisset\u3084empty\u3067\u78ba\u8a8d\u3059\u308b\u306e\u304c\u4e00\u822c\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Warning\uff1a\u95a2\u6570\u306e\u8aa4\u7528\u3084\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u5931\u6557<\/h3>\n\n\n\n<p>Warning\u306f\u3001\u51e6\u7406\u306f\u7d99\u7d9a\u3055\u308c\u308b\u3082\u306e\u306e\u3001\u660e\u3089\u304b\u306b\u60f3\u5b9a\u5916\u306e\u72b6\u614b\u3067\u3059\u3002<br>\u4f8b\u3048\u3070\u3001\u5b58\u5728\u3057\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u3068Warning\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#1e1e1e\"><span style=\"background:#c7c7c7;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#1e1e1e\">PHP<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;?php\n\/\/ \u5b58\u5728\u3057\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\ninclude 'nofile.php';\necho \"\u5b9f\u884c\u306f\u7d99\u7d9a\u3055\u308c\u308b\";\n\/\/ \u51fa\u529b: Warning: include(nofile.php): failed to open stream...\n?>\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">&lt;?php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/ \u5b58\u5728\u3057\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f<\/span><\/span>\n<span class=\"line\"><span style=\"color: #C586C0\">include<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&#39;nofile.php&#39;<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&quot;\u5b9f\u884c\u306f\u7d99\u7d9a\u3055\u308c\u308b&quot;<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/ \u51fa\u529b: Warning: include(nofile.php): failed to open stream...<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">?&gt;<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>include\u7cfb\u306fWarning\u3067\u6e08\u307f\u307e\u3059\u304c\u3001require\u7cfb\u306fFatal Error\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Fatal Error\uff1a\u56de\u907f\u4e0d\u80fd\u306a\u5b9f\u884c\u505c\u6b62<\/h3>\n\n\n\n<p>Fatal Error\u306f\u3001\u81f4\u547d\u7684\u306a\u554f\u984c\u304c\u767a\u751f\u3057\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u505c\u6b62\u3057\u307e\u3059\u3002<br>\u4f8b\u3048\u3070\u3001\u5b58\u5728\u3057\u306a\u3044\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u3068\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#1e1e1e\"><span style=\"background:#c7c7c7;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#1e1e1e\">PHP<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;?php\n\/\/ \u5b9a\u7fa9\u3055\u308c\u3066\u3044\u306a\u3044\u95a2\u6570\u306e\u547c\u3073\u51fa\u3057\nundefinedFunction();\n\/\/ \u51fa\u529b: Fatal error: Uncaught Error: Call to undefined function\n?>\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">&lt;?php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/ \u5b9a\u7fa9\u3055\u308c\u3066\u3044\u306a\u3044\u95a2\u6570\u306e\u547c\u3073\u51fa\u3057<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">undefinedFunction<\/span><span style=\"color: #D4D4D4\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/ \u51fa\u529b: Fatal error: Uncaught Error: Call to undefined function<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">?&gt;<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u306e\u7a2e\u306e\u30a8\u30e9\u30fc\u306ftry-catch\u3067\u3082\u6355\u6349\u3067\u304d\u306a\u3044\u305f\u3081\u3001\u5b9a\u7fa9\u5fd8\u308c\u3084\u30bf\u30a4\u30dd\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">include\u3068require\u306e\u9055\u3044\u306b\u3088\u308b\u6319\u52d5\u5dee<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#1e1e1e\"><span style=\"background:#c7c7c7;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#1e1e1e\">PHP<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;?php\n\/\/ include \u306f Warning\uff08\u5b9f\u884c\u7d99\u7d9a\uff09\ninclude 'nofile.php';\necho \"\u7d9a\u884c\u53ef\u80fd\\n\";\n\n\/\/ require \u306f Fatal\uff08\u5373\u6642\u505c\u6b62\uff09\nrequire 'nofile.php';\necho \"\u3053\u308c\u306f\u8868\u793a\u3055\u308c\u306a\u3044\";\n?>\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">&lt;?php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/ include \u306f Warning\uff08\u5b9f\u884c\u7d99\u7d9a\uff09<\/span><\/span>\n<span class=\"line\"><span style=\"color: #C586C0\">include<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&#39;nofile.php&#39;<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&quot;\u7d9a\u884c\u53ef\u80fd<\/span><span style=\"color: #D7BA7D\">\\n<\/span><span style=\"color: #CE9178\">&quot;<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/ require \u306f Fatal\uff08\u5373\u6642\u505c\u6b62\uff09<\/span><\/span>\n<span class=\"line\"><span style=\"color: #C586C0\">require<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&#39;nofile.php&#39;<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&quot;\u3053\u308c\u306f\u8868\u793a\u3055\u308c\u306a\u3044&quot;<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">?&gt;<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u8fbc\u307f\u3067\u306f\u81f4\u547d\u5ea6\u306e\u9055\u3044\u306b\u3088\u308a\u9078\u5b9a\u304c\u91cd\u8981\u3067\u3059\u3002<br>\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u306e\u89b3\u70b9\u304b\u3089\u306f\u3001<code>require_once<\/code>\u3068try-catch\u69cb\u6587\u3092\u4f75\u7528\u3059\u308b\u3053\u3068\u3082\u691c\u8a0e\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. \u3088\u304f\u3042\u308b\u30df\u30b9\u30fb\u8aa4\u89e3\u30fb\u843d\u3068\u3057\u7a74<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Notice\u3084Warning\u306f\u8efd\u8996\u3055\u308c\u304c\u3061\u3067\u3059\u304c\u3001\u653e\u7f6e\u3059\u308b\u3068\u672c\u756a\u74b0\u5883\u3067\u30d0\u30b0\u306e\u539f\u56e0\u306b\u306a\u308a\u307e\u3059<\/li>\n\n\n\n<li><code>require<\/code>\u3068<code>include<\/code>\u306e\u9055\u3044\u3092\u77e5\u3089\u305a\u306b\u4f7f\u3046\u3068\u3001\u81f4\u547d\u7684\u306a\u505c\u6b62\u3092\u62db\u304f\u3053\u3068\u304c\u3042\u308a\u307e\u3059<\/li>\n\n\n\n<li><code>error_reporting(0)<\/code>\u306a\u3069\u3067\u30a8\u30e9\u30fc\u3092\u975e\u8868\u793a\u306b\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u30c7\u30d0\u30c3\u30b0\u304c\u56f0\u96e3\u306b\u306a\u308a\u307e\u3059<\/li>\n\n\n\n<li>PHP 7\u4ee5\u964d\u3067\u306f\u3001Fatal Error\u306e\u4e00\u90e8\u304cError\u30af\u30e9\u30b9\u3068\u3057\u3066\u4f8b\u5916\u5316\u3055\u308c\u3066\u304a\u308a\u3001try-catch\u3067\u88dc\u8db3\u53ef\u80fd\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff08\u4f8b\uff1aTypeError\uff09<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">5. \u307e\u3068\u3081<\/h2>\n\n\n\n<p>PHP\u306e\u30a8\u30e9\u30fc\u306f\u3001\u958b\u767a\u4e2d\u306e\u54c1\u8cea\u3084\u5b89\u5b9a\u6027\u306b\u76f4\u7d50\u3057\u307e\u3059\u3002<br>Notice\u3084Warning\u306f\u7121\u8996\u3067\u304d\u308b\u3082\u306e\u3067\u306f\u306a\u304f\u3001\u30b3\u30fc\u30c9\u54c1\u8cea\u306e\u30b7\u30b0\u30ca\u30eb\u3068\u3057\u3066\u6d3b\u7528\u3059\u3079\u304d\u3067\u3059\u3002<\/p>\n\n\n\n<p>Fatal Error\u306f\u5373\u6642\u505c\u6b62\u3092\u62db\u304f\u305f\u3081\u3001\u65e9\u671f\u691c\u77e5\u3068\u9632\u6b62\u304c\u5fc5\u8981\u3067\u3059\u3002<br>\u5404\u7a2e\u30a8\u30e9\u30fc\u306e\u9055\u3044\u3068\u9069\u5207\u306a\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3092\u7406\u89e3\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u3001\u5805\u7262\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306b\u306f\u6b20\u304b\u305b\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u672c\u8a18\u4e8b\u306e\u30dd\u30a4\u30f3\u30c8 2. PHP\u306e\u30a8\u30e9\u30fc\u7a2e\u5225\u3068\u306f\uff1f PHP\u3067\u306f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u4e2d\u306b\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u3068\u3001\u30a8\u30e9\u30fc\u3068\u3057\u3066\u901a\u77e5\u3055\u308c\u307e\u3059\u3002\u30a8\u30e9\u30fc\u306b\u306f\u91cd\u5927\u5ea6\u3084\u5b9f\u884c\u7d99\u7d9a\u53ef\u5426\u306b\u5fdc\u3058\u3066\u3044\u304f\u3064\u304b\u306e\u5206\u985e\u304c\u3042\u308a\u3001\u4e3b\u306b\u4ee5\u4e0b\u306e3\u7a2e\u985e\u304c\u4ee3\u8868\u7684\u3067\u3059 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":895,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[85],"tags":[],"class_list":["post-818","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/nexive.tech\/index.php?rest_route=\/wp\/v2\/posts\/818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nexive.tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nexive.tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nexive.tech\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nexive.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=818"}],"version-history":[{"count":2,"href":"https:\/\/nexive.tech\/index.php?rest_route=\/wp\/v2\/posts\/818\/revisions"}],"predecessor-version":[{"id":896,"href":"https:\/\/nexive.tech\/index.php?rest_route=\/wp\/v2\/posts\/818\/revisions\/896"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nexive.tech\/index.php?rest_route=\/wp\/v2\/media\/895"}],"wp:attachment":[{"href":"https:\/\/nexive.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nexive.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nexive.tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}