[php-src] Issue #7749: Segfault when recursive call is made

From: Date: Fri, 10 Dec 2021 16:15:43 +0000
Subject: [php-src] Issue #7749: Segfault when recursive call is made
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238320@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7749 Comment Author: damianwadley Infinite recursion like this is considered a user bug. Since you have Xdebug installed, while developing and testing, you can set the [xdebug.max_stack_frames](https://xdebug.org/docs/all_settings#max_stack_frames) setting to a relatively large number and it will stop the script if you reach that limit. Regarding memory usage, it's quite possible - even common - to exhaust the stack before you exhaust memory.

« previous php.bugs (#238320) next »