E
E
Evgeny Ivanov2018-02-14 18:48:28
PHP
Evgeny Ivanov, 2018-02-14 18:48:28

How to execute php code after error?

There are three users. They write php code. We trust them - we do not consider the issue of security.
There is a script that executes their code one by one in a loop (eval).
User 2 wrote the code with errors. The script executed user code 1, started executing user code 2, and stopped at an error. User code 3 failed.
How to make it so that in case of an error, the script can execute the code further?
Code execution in a loop, the number of users is known.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question