{"id":4549,"date":"2022-08-02T10:54:21","date_gmt":"2022-08-02T10:54:21","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=4549"},"modified":"2022-08-02T10:54:34","modified_gmt":"2022-08-02T10:54:34","slug":"what-are-the-types-of-errors-in-php","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/","title":{"rendered":"What are the types of errors in PHP ?"},"content":{"rendered":"<ul>\n<li style=\"text-align: justify;\">In a programmer, error is a mistake that may be caused by writing incorrect code or incorrect syntax.<\/li>\n<li style=\"text-align: justify;\">An error message is displayed on your browser containing the filename along with a message describing the error, location and the line number in which error has occurred.<\/li>\n<li style=\"text-align: justify;\">In PHP there are various types of errors that contains basically four main types of errors, they are\n<ul>\n<li>Syntax Error or Parse Error<\/li>\n<li>Fatal Error<\/li>\n<li>Warning Error<\/li>\n<li>Notice Error<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-4550\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors.png\" alt=\"\" width=\"1756\" height=\"849\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors.png 1756w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors-300x145.png 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors-1024x495.png 1024w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors-768x371.png 768w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors-1536x743.png 1536w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors-390x189.png 390w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors-820x396.png 820w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors-1180x571.png 1180w\" sizes=\"(max-width: 1756px) 100vw, 1756px\" \/><\/p>\n<h2 id=\"syntax-error-or-parse-error\" style=\"text-align: justify;\">Syntax Error or Parse Error<\/h2>\n<ul style=\"text-align: justify;\">\n<li>A syntax error is a mistake in the syntax of source code, which can be done by programmers due to their lack of knowledge or concern.<\/li>\n<li>At compile time compiler is used to catch the syntax error.<\/li>\n<li>Due to common reasons these errors can occur like missing semicolon, unclosed quotes, or unclosed brackets, extra or missing parentheses and many more.<\/li>\n<li>While compiling the program syntax error can be caught by the compiler and gives a syntax error or parse error message.<\/li>\n<\/ul>\n<h3 id=\"sample-code\" style=\"text-align: justify;\">Sample Code<\/h3>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-php code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-php code-embed-code\"><?php  <br\/>    \/*------------------syntax error-------------------*\/  <br\/>    echo &quot;Venkat: Hie! I&#039;m Venkat. <\/br>&quot;;  <br\/>    echo &quot;Lokesh: I&#039;m Lokesh. How are you?&quot;  <br\/>    echo &quot;Venkat: I&#039;m good! and you?&quot;;  <br\/>    echo &quot;Lokesh: I&#039;m also good&quot;;  <br\/>?>  <\/code><\/pre> <\/div>\n<h3 id=\"output\" style=\"text-align: justify;\">Output<\/h3>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone size-full wp-image-4551\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/syntax-error.png\" alt=\"\" width=\"1427\" height=\"163\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/syntax-error.png 1427w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/syntax-error-300x34.png 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/syntax-error-1024x117.png 1024w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/syntax-error-768x88.png 768w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/syntax-error-390x45.png 390w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/syntax-error-820x94.png 820w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/syntax-error-1180x135.png 1180w\" sizes=\"(max-width: 1427px) 100vw, 1427px\" \/><\/p>\n<h2 id=\"fatal-error\" style=\"text-align: justify;\">Fatal Error<\/h2>\n<ul style=\"text-align: justify;\">\n<li>Fatal error is another type of error, which is occurred due to the use of undefined function.<\/li>\n<li>The PHP compiler understands the PHP code and also recognizes the undefined function.<\/li>\n<li>PHP compiler generates a fatal error, when a function is called without providing its definition.<\/li>\n<\/ul>\n<h3 id=\"sample-code-2\" style=\"text-align: justify;\">Sample Code<\/h3>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-php code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-php code-embed-code\"><?php  <br\/>    \/*------------------fatal error-------------------*\/  <br\/>    function add($f1, $f2) {  <br\/>        $sum = $f1 + $f2;  <br\/>        echo &quot;Addition:&quot; . $sum;  <br\/>    }  <br\/>      <br\/>    $f1 = 23;  <br\/>    $f2 = 56;  <br\/>      <br\/>    \/\/call the function that is not defined  <br\/>    \/\/Generate fatal error  <br\/>    catch_fatal_error();  <br\/>    \/\/echo &quot;Fatal Error&quot;;     <br\/>?>  <\/code><\/pre> <\/div>\n<h3 id=\"output-2\" style=\"text-align: justify;\">Output<\/h3>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone size-full wp-image-4552\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/fatal-error.png\" alt=\"\" width=\"1425\" height=\"158\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/fatal-error.png 1425w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/fatal-error-300x33.png 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/fatal-error-1024x114.png 1024w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/fatal-error-768x85.png 768w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/fatal-error-390x43.png 390w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/fatal-error-820x91.png 820w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/fatal-error-1180x131.png 1180w\" sizes=\"(max-width: 1425px) 100vw, 1425px\" \/><\/p>\n<h3 id=\"warning-error\" style=\"text-align: justify;\">Warning Error<\/h3>\n<ul style=\"text-align: justify;\">\n<li>When the programmer tries to include a missing file there warning error is generated.<\/li>\n<li>The PHP function calls that missing file which does not exist and warning error\u00a0does not stop\/prevent the execution of the program.<\/li>\n<\/ul>\n<h3 id=\"sample-code-3\" style=\"text-align: justify;\">Sample Code<\/h3>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-php code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-php code-embed-code\"><?php  <br\/>    \/*-------------------warning error------------------*\/  <br\/>    $cmpny = &#039;Wikitechy&#039;;  <br\/>    echo &quot;Warning Error: &quot;;  <br\/>      <br\/>    \/\/include a file in the code  <br\/>    include (&#039;jtp.php&#039;);      <br\/>?><\/code><\/pre> <\/div>\n<h3 id=\"output-3\" style=\"text-align: justify;\">Output<\/h3>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4553\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/warning-error.png\" alt=\"\" width=\"1434\" height=\"323\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/warning-error.png 1434w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/warning-error-300x68.png 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/warning-error-1024x231.png 1024w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/warning-error-768x173.png 768w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/warning-error-390x88.png 390w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/warning-error-820x185.png 820w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/warning-error-1180x266.png 1180w\" sizes=\"(max-width: 1434px) 100vw, 1434px\" \/><\/p>\n<h2 id=\"notice-error\" style=\"text-align: justify;\">Notice Error<\/h2>\n<ul style=\"text-align: justify;\">\n<li>Notice error is also same as warning error, when program contains something wrong, the notice error occurs.<\/li>\n<li>Including\u00a0a notice error, it allows\/continue the execution of the program.<\/li>\n<li>Notice error does not prevent the execution of the code and generally it occurs when we try to use or access a variable which is undefined.<\/li>\n<\/ul>\n<h3 id=\"sample-code-4\" style=\"text-align: justify;\">Sample Code<\/h3>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-php code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-php code-embed-code\"><?php  <br\/>    \/*------------------notice error-------------------*\/  <br\/>    $telecom = &quot;Airtel&quot;;  <br\/>    echo $telecom;  <br\/>    echo $automobile;  <br\/>?>  <\/code><\/pre> <\/div>\n<h3 id=\"output-4\" style=\"text-align: justify;\">Output<\/h3>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4554\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/notice-error.png\" alt=\"\" width=\"1434\" height=\"201\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/notice-error.png 1434w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/notice-error-300x42.png 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/notice-error-1024x144.png 1024w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/notice-error-768x108.png 768w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/notice-error-390x55.png 390w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/notice-error-820x115.png 820w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/notice-error-1180x165.png 1180w\" sizes=\"(max-width: 1434px) 100vw, 1434px\" \/><\/p>\n<p style=\"text-align: justify;\">\n","protected":false},"excerpt":{"rendered":"<p>In a programmer, error is a mistake that may be caused by writing incorrect code or incorrect syntax. An error message is displayed on your browser containing the filename along with a message describing the error, location and the line number in which error has occurred. In PHP there are various types of errors that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8182],"tags":[17702,17708,17698,17699,17701,17703,17700,17704,17707,17705,17706],"class_list":["post-4549","post","type-post","status-publish","format-standard","hentry","category-php","tag-how-many-types-of-error-in-php","tag-how-to-fix-php-error","tag-php-errors","tag-types-of-errors","tag-types-of-errors-in-php","tag-what-are-the-different-types-of-errors-in-php","tag-what-are-the-types-of-errors-in-php","tag-what-is-error-in-php","tag-what-is-fatal-error-in-php","tag-what-is-parse-error-in-php","tag-what-is-warning-error-in-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What are the types of errors in PHP ? - Types of Errors in PHP<\/title>\n<meta name=\"description\" content=\"What are the types of errors in PHP ? - In a program error is a mistake that may be caused by writing incorrect code or incorrect syntax.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What are the types of errors in PHP ? - Types of Errors in PHP\" \/>\n<meta property=\"og:description\" content=\"What are the types of errors in PHP ? - In a program error is a mistake that may be caused by writing incorrect code or incorrect syntax.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-02T10:54:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-02T10:54:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors.png\" \/>\n<meta name=\"author\" content=\"webmaster\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webmaster\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/php\\\/what-are-the-types-of-errors-in-php\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/php\\\/what-are-the-types-of-errors-in-php\\\/\"},\"author\":{\"name\":\"webmaster\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/f785ba3ecc599133e65ab6138042a3e4\"},\"headline\":\"What are the types of errors in PHP ?\",\"datePublished\":\"2022-08-02T10:54:21+00:00\",\"dateModified\":\"2022-08-02T10:54:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/php\\\/what-are-the-types-of-errors-in-php\\\/\"},\"wordCount\":538,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/php\\\/what-are-the-types-of-errors-in-php\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/types-of-errors.png\",\"keywords\":[\"how many types of error in php\",\"how to fix php error\",\"php errors\",\"types of errors\",\"types of errors in php\",\"what are the different types of errors in php\",\"what are the types of errors in php\",\"what is error in php\",\"what is fatal error in php\",\"what is parse error in php\",\"what is warning error in php\"],\"articleSection\":[\"PHP\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/php\\\/what-are-the-types-of-errors-in-php\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/php\\\/what-are-the-types-of-errors-in-php\\\/\",\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/php\\\/what-are-the-types-of-errors-in-php\\\/\",\"name\":\"What are the types of errors in PHP ? - Types of Errors in PHP\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/php\\\/what-are-the-types-of-errors-in-php\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/php\\\/what-are-the-types-of-errors-in-php\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/types-of-errors.png\",\"datePublished\":\"2022-08-02T10:54:21+00:00\",\"dateModified\":\"2022-08-02T10:54:34+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/f785ba3ecc599133e65ab6138042a3e4\"},\"description\":\"What are the types of errors in PHP ? - In a program error is a mistake that may be caused by writing incorrect code or incorrect syntax.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/php\\\/what-are-the-types-of-errors-in-php\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/php\\\/what-are-the-types-of-errors-in-php\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/types-of-errors.png\",\"contentUrl\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/types-of-errors.png\",\"width\":1756,\"height\":849},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#website\",\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/f785ba3ecc599133e65ab6138042a3e4\",\"name\":\"webmaster\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"caption\":\"webmaster\"},\"sameAs\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\"],\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/author\\\/webmaster\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What are the types of errors in PHP ? - Types of Errors in PHP","description":"What are the types of errors in PHP ? - In a program error is a mistake that may be caused by writing incorrect code or incorrect syntax.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/","og_locale":"en_US","og_type":"article","og_title":"What are the types of errors in PHP ? - Types of Errors in PHP","og_description":"What are the types of errors in PHP ? - In a program error is a mistake that may be caused by writing incorrect code or incorrect syntax.","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/","og_site_name":"Wikitechy","article_published_time":"2022-08-02T10:54:21+00:00","article_modified_time":"2022-08-02T10:54:34+00:00","og_image":[{"url":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors.png","type":"","width":"","height":""}],"author":"webmaster","twitter_card":"summary_large_image","twitter_misc":{"Written by":"webmaster","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/#article","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/"},"author":{"name":"webmaster","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4"},"headline":"What are the types of errors in PHP ?","datePublished":"2022-08-02T10:54:21+00:00","dateModified":"2022-08-02T10:54:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/"},"wordCount":538,"commentCount":0,"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors.png","keywords":["how many types of error in php","how to fix php error","php errors","types of errors","types of errors in php","what are the different types of errors in php","what are the types of errors in php","what is error in php","what is fatal error in php","what is parse error in php","what is warning error in php"],"articleSection":["PHP"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/","name":"What are the types of errors in PHP ? - Types of Errors in PHP","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors.png","datePublished":"2022-08-02T10:54:21+00:00","dateModified":"2022-08-02T10:54:34+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4"},"description":"What are the types of errors in PHP ? - In a program error is a mistake that may be caused by writing incorrect code or incorrect syntax.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/php\/what-are-the-types-of-errors-in-php\/#primaryimage","url":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors.png","contentUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/types-of-errors.png","width":1756,"height":849},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4","name":"webmaster","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","caption":"webmaster"},"sameAs":["https:\/\/www.wikitechy.com\/interview-questions"],"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/webmaster\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/4549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=4549"}],"version-history":[{"count":2,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/4549\/revisions"}],"predecessor-version":[{"id":4556,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/4549\/revisions\/4556"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=4549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=4549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=4549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}