{"action":"created","issue":{"url":"https://api.github.com/repos/bcosca/fatfree/issues/542","repository_url":"https://api.github.com/repos/bcosca/fatfree","labels_url":"https://api.github.com/repos/bcosca/fatfree/issues/542/labels{/name}","comments_url":"https://api.github.com/repos/bcosca/fatfree/issues/542/comments","events_url":"https://api.github.com/repos/bcosca/fatfree/issues/542/events","html_url":"https://github.com/bcosca/fatfree/issues/542","id":26884433,"number":542,"title":"F3 promoting notices to errors?","user":{"login":"123Haynes","id":209302,"avatar_url":"https://avatars.githubusercontent.com/u/209302?v=3","gravatar_id":"","url":"https://api.github.com/users/123Haynes","html_url":"https://github.com/123Haynes","followers_url":"https://api.github.com/users/123Haynes/followers","following_url":"https://api.github.com/users/123Haynes/following{/other_user}","gists_url":"https://api.github.com/users/123Haynes/gists{/gist_id}","starred_url":"https://api.github.com/users/123Haynes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/123Haynes/subscriptions","organizations_url":"https://api.github.com/users/123Haynes/orgs","repos_url":"https://api.github.com/users/123Haynes/repos","events_url":"https://api.github.com/users/123Haynes/events{/privacy}","received_events_url":"https://api.github.com/users/123Haynes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bcosca/fatfree/labels/duplicate","name":"duplicate","color":"ffc030"},{"url":"https://api.github.com/repos/bcosca/fatfree/labels/wontfix","name":"wontfix","color":"666666"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-02-04T14:21:32Z","updated_at":"2016-04-26T11:44:12Z","closed_at":"2014-02-06T01:30:27Z","body":"Hi,\r\n\r\ni'm currently working on a Project where i have to use NET_LDAP2 of the PEAR framework as a component.\r\nWith the current Version of f3 this seems to be impossible.\r\nPear is quite old, so it generates several notices.\r\nNormally that is no problem since i can disable them in the php.ini, but f3 treats notices as internal server errors even if they are disabled in the error_reporting.\r\n\r\nHere is a very simple example for this behaviour:\r\n```\r\n<?php\r\n$f3=require('../private/lib/base.php');\r\n\r\n\tif($foo == \"\") {\r\n\t\t$foo=\"weird\";\r\n                echo $foo;\r\n\t}\r\n?>\r\n```\r\nWithout f3 this will generate a notice that $foo is undefined, but it'll work.\r\nWith f3 this will trigger an internal Server error and the script will stop."},"comment":{"url":"https://api.github.com/repos/bcosca/fatfree/issues/comments/214714260","html_url":"https://github.com/bcosca/fatfree/issues/542#issuecomment-214714260","issue_url":"https://api.github.com/repos/bcosca/fatfree/issues/542","id":214714260,"user":{"login":"ikkez","id":1177647,"avatar_url":"https://avatars.githubusercontent.com/u/1177647?v=3","gravatar_id":"","url":"https://api.github.com/users/ikkez","html_url":"https://github.com/ikkez","followers_url":"https://api.github.com/users/ikkez/followers","following_url":"https://api.github.com/users/ikkez/following{/other_user}","gists_url":"https://api.github.com/users/ikkez/gists{/gist_id}","starred_url":"https://api.github.com/users/ikkez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikkez/subscriptions","organizations_url":"https://api.github.com/users/ikkez/orgs","repos_url":"https://api.github.com/users/ikkez/repos","events_url":"https://api.github.com/users/ikkez/events{/privacy}","received_events_url":"https://api.github.com/users/ikkez/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T11:44:12Z","updated_at":"2016-04-26T11:44:12Z","body":"set the appropriate error level with [error_reporting()](http://php.net/manual/de/function.error-reporting.php). If you want them all, set `error_reporting(E_ALL);` and the F3 error handler will trigger them."}}