PHP Test online
20. How can a script come to a clean termination?Вариант ответа 1 - A) When exit() is called Вариант ответа 2 - B) When the execution reaches the end of the current file Вариант ответа 3 - C) When PHP crashes Вариант ответа 4 - D) When Apache terminates because of a system problem Comments: The only answer that really fits the bill is A. A script doesn’t necessarily terminate when it reaches the end of any file other than the main one—so the “current” file could be externally included and not cause the script to terminate at its end. As far as PHP and Apache crashes, they can hardly be considered “clean” ways to terminate a script. |
Comments
| User name | Comment |
|---|
Русский