php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14778 Function self-caller crash php
Submitted: 2001-12-30 21:28 UTC Modified: 2001-12-31 03:44 UTC
From: roberto at berto dot net Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.1.0 OS: windows ME
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: roberto at berto dot net
New email:
PHP Version: OS:

 

 [2001-12-30 21:28 UTC] roberto at berto dot net
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?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-31 03:44 UTC] mfischer@php.net
a) known b) just one of zillion ways to dos c) expected  d) won't be fixed soon/never e) bogus
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat May 10 20:01:27 2025 UTC