[php-src] Issue #15973: Segmentation fault in JIT mode 1135
| From: | YuanchengJiang | Date: | Sat, 21 Sep 2024 10:14:29 +0000 |
| Subject: | [php-src] Issue #15973: Segmentation fault in JIT mode 1135 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247846@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/15973
Author: YuanchengJiang
### Description
The following code:
```php
<?php
class Test {
}
$appendProp2 = (function() {
$this->prop[] = 1;
})->bindTo($test, Test::class);
$appendProp2();
```
To reproduce:
```
-d "opcache.jit_hot_func=1" -d "opcache.protect_memory=1" -d
"zend_extension=/php-src/modules/opcache.so" -d "opcache.enable_cli=1" -d
"opcache.jit=1135"
```
### PHP Version
PHP 8.4.0-dev
### Operating System
ubuntu 22.04