PHP max_execution_time with includes -
just wandering how max_execution_time
works. documentation here states option sets:
the maximum time in seconds script allowed run
how work includes/requires?
example:
file1.php <?php include("file2.php"); include("file3.php"); ?> file2.php <?php //some script takes 6 minutes ?> file3.php <?php echo "hello" ?>
if file2.php takes 6 minutes (and max_execution_time set 5 minutes), control pass file1.php , continue running, or whole file quit?
the execution breaks , throw error.
Comments
Post a Comment