PHP Interview Questions and Answers


How is it possible to set an infinite execution time for PHP script?

The set_time_limit(0) added at the beginning of a script sets to infinite the time of execution to not have the PHP error 'maximum execution time exceeded'.It is also possible to specify this in the php.ini file.

Posted by:Richards