Welcome Guest, Not a member yet? Register   Sign In
CI4 Errors and Exceptions
#1

In PHP The Right Way - this comment is made:


Quote:PHP itself is fairly lax with this, and a call to file_get_contents() will usually just get you a FALSE and a warning. Many older PHP frameworks like CodeIgniter will just return a false, log a message to their proprietary logs and maybe let you use a method like $this->upload->get_error() to see what went wrong. The problem here is that you have to go looking for a mistake and check the docs to see what the error method is for this class, instead of having it made extremely obvious.

https://phptherightway.com/#errors

Will CI4 handle errors more correctly? I'm assuming the answer is a "yes".

Also, once Ci4 is in production is there a task to contact PHP The Right Way guys and ask them to adjust there site?
Reply


Messages In This Thread
CI4 Errors and Exceptions - by zurtri - 10-23-2018, 03:26 PM
RE: CI4 Errors and Exceptions - by skunkbad - 10-23-2018, 08:33 PM
RE: CI4 Errors and Exceptions - by zurtri - 10-24-2018, 03:36 PM
RE: CI4 Errors and Exceptions - by kilishan - 10-24-2018, 07:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB