Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2001122

[PHP-DEV] Bug #14778: Function self-caller crash php From: roberto <email protected>
Date: 12/30/01

From: roberto <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>