Is there any way to notice E_NOTICE in php code?
问题 I have a PHP script that needs to be executed for hours and hours and sometimes for some reasons (for example network problem while executing of a script which needs to be connected to internet ,etc...) the execution process stops for a while and does wrong thing(and it always causes a E_NOTICE while the process is going to wrong way) My question is that is there ((any)) way to notice when there is a warning in your script?(And stop the whole script as well) There is a Pseudocode for my