[php-src] Issue #11168: Segmentation fault on recursion
| From: | alxmrz | Date: | Sun, 30 Apr 2023 17:57:25 +0000 |
| Subject: | [php-src] Issue #11168: Segmentation fault on recursion | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-244309@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/11168
Author: alxmrz
### Description
The following code:
```php
<?php
function callMe()
{
return callMe()['key'];
}
callMe();
```
Resulted in this output:
```
Segmentation fault (core dumped)
```
But I expected this output instead:
```
Some fatal, i suppose :)
```
### PHP Version
PHP 8.1.2
### Operating System
Ubuntu