{"id":187,"date":"2016-12-01T16:38:56","date_gmt":"2016-12-01T16:38:56","guid":{"rendered":"http:\/\/rat32.com\/rat32\/?p=187"},"modified":"2016-12-01T16:38:56","modified_gmt":"2016-12-01T16:38:56","slug":"how-to-show-all-errors-in-php","status":"publish","type":"post","link":"https:\/\/rat32.com\/rat32\/2016\/12\/01\/how-to-show-all-errors-in-php\/","title":{"rendered":"How to show all errors in php?"},"content":{"rendered":"<p>Without editing php.ini it is possible to display almost all errors in php by adding following 3 lines of codes on the top of the php page:<\/p>\n<pre class=\"lang:php decode:true \" >ini_set('display_errors', 1);\r\nini_set('display_startup_errors', 1);\r\nerror_reporting(E_ALL);<\/pre>\n<p>Hope it helped you. If it helped please do not forget to comment below. Thanks.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Without editing php.ini it is possible to display almost all errors in php by adding following 3 lines of codes on the top of the php page: ini_set(&#8216;display_errors&#8217;, 1); ini_set(&#8216;display_startup_errors&#8217;, 1); error_reporting(E_ALL); Hope it&#46;&#46;&#46;<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,3],"tags":[110,108,84,87,107,109],"class_list":["post-187","post","type-post","status-publish","format-standard","hentry","category-how-to","category-php","tag-debug","tag-display-errors","tag-php","tag-php-ini","tag-show-errors","tag-warnings"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts\/187"}],"collection":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/comments?post=187"}],"version-history":[{"count":1,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts\/187\/revisions"}],"predecessor-version":[{"id":188,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts\/187\/revisions\/188"}],"wp:attachment":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/media?parent=187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/categories?post=187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/tags?post=187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}