[PHP-BUG] Bug #79094 [NEW]: Crashing when running recursion function
[email protected] ("vinayrachapalli7 at gmail dot com") Fri, 10 Jan 2020 11:56:39 +0000
| Newsgroups | php.standards |
|---|---|
| Message-ID | <[email protected]> |
From: vinayrachapalli7 at gmail dot com
Operating system: centos 7
PHP version: 7.4Git-2020-01-10 (Git)
Package: PHP Language Specification
Bug Type: Bug
Bug description:Crashing when running recursion function
Description:
------------
It crashes when we run the following script on PHP 7.4, but in 7.3,
it'll through error like Fatal error: Allowed memory size of 134217728
bytes exhausted at ...
Test script:
---------------
<?php
function A(){
A();
}
A();
?>
--
Edit bug report at https://bugs.php.net/bug.php?id=79094&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79094&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79094&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79094&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79094&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79094&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79094&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79094&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79094&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79094&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79094&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79094&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79094&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79094&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79094&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79094&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79094&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79094&r=mysqlcfg