Bug #14778: Function self-caller crash php
| From: | roberto at berto dot net | Date: | Mon, 31 Dec 2001 02:28:24 +0000 |
| Subject: | Bug #14778: Function self-caller crash php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-75405@lists.php.net to get a copy of this message | ||
From: roberto@berto.net
Operating system: windows ME
PHP version: 4.1.0
PHP Bug Type: Reproducible crash
Bug description: Function self-caller crash php
It's not a Bug, but crash PHP. Maybe it's proposital way to prevent a type
of DoS.
Sometimes it's usefull or it's need use a function that call itself. An
example is a recursive array routine.
<?PHP
function crash($foo) {
crash($foo);
}
crash("foo");
?>
What I like to show is: windows crash PHP when this code run. This is
expected or the right is show a Fatal Error mensage?
--
Edit bug report at: http://bugs.php.net/?id=14778&edit=1