[php-src] Issue #8968: Segmentation fault when unicode characters are used in readline prompt
| From: | Chi-teck | Date: | Sun, 10 Jul 2022 18:43:11 +0000 |
| Subject: | [php-src] Issue #8968: Segmentation fault when unicode characters are used in readline prompt | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241895@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8968
Author: Chi-teck
### Description
The following code:
```php
<?php
setlocale(LC_ALL, 'C');
readline('➤');
```
### PHP Version
PHP 8.1.7
### Operating System
Debian