Is there a way to not stop the script if errors are detected?

I have a php script that sometimes makes some minor errors that are not important, but the script stops executing the following lines. I want to do a little ini_setor something so that it runs the entire script, even if there is a warning or errors.

Note: I cannot fix these errors.

thank

+3
source share
2 answers

If there are fatal errors, the script will stop, no matter what, and there is nothing you can do about it. You see that there is nothing like "Resume by mistake" like in vb. You can suppress errors, but with the @ symbol.

+3
source
0

Source: https://habr.com/ru/post/1729170/


All Articles