Hi,
What is the PHP policy regaring crashes and fatal errors?
Are scripts allowed to cause a crash or fatal error of Apache/PHP itself?
What is the PHP policy regaring crashes and fatal errors?
Are scripts allowed to cause a crash or fatal error of Apache/PHP itself?
Only on a stack overflow, as in:
function a() { a(); }
a();
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
Derick Rethans wrote:
What is the PHP policy regaring crashes and fatal errors?
Are scripts allowed to cause a crash or fatal error of Apache/PHP itself?Only on a stack overflow, as in:
Are there any plans to fix/improve this situation?
Isn't it possible to check stack size left before allocating a new stack
frame?
function a() { a(); }
a();Derick
Derick Rethans wrote:
What is the PHP policy regaring crashes and fatal errors?
Are scripts allowed to cause a crash or fatal error of Apache/PHP itself?Only on a stack overflow, as in:
Are there any plans to fix/improve this situation?
Isn't it possible to check stack size left before allocating a new stack
frame?
No, this is not possible. Please read the archives for reasons.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
Derick Rethans wrote:
Derick Rethans wrote:
What is the PHP policy regaring crashes and fatal errors?
Are scripts allowed to cause a crash or fatal error of Apache/PHP itself?Only on a stack overflow, as in:
Are there any plans to fix/improve this situation?
Isn't it possible to check stack size left before allocating a new stack
frame?No, this is not possible. Please read the archives for reasons.
Do you know the subjects of the threads in which this was discussed?
Searching for "stack overflow" or "infinite recursion" gives many
results, but I can't find the posts in which you explained why it can't
be done.
Derick
Derick Rethans wrote:
Derick Rethans wrote:
What is the PHP policy regaring crashes and fatal errors?
Are scripts allowed to cause a crash or fatal error of Apache/PHP itself?Only on a stack overflow, as in:
Are there any plans to fix/improve this situation?
Isn't it possible to check stack size left before allocating a new stack
frame?No, this is not possible. Please read the archives for reasons.
And don't you think this should be mentioned in the documentation?
It's a rather important issue IMO.
Derick
Derick Rethans wrote:
What is the PHP policy regaring crashes and fatal errors?
Are scripts allowed to cause a crash or fatal error of Apache/PHP itself?Only on a stack overflow, as in:
What about out of memory conditions (in for example gzinflate)?