Closed
Description
Description
The following code:
<?php
require('tester.inc');
$cfg = <<<EOT
EOT;
$code = <<<EOT
EOT;
$tester = new FPM\Tester($cfg, $code);
$tester->start();
Resulted in this output:
Zend/zend_vm_execute.h:6025:2: runtime error: member access within misaligned address 0x7fd6e5c0520f for type 'zval' (aka 'struct _zval_struct'), which requires 8 byte alignment
0x7fd6e5c0520f: note: pointer points here
00 00 00 00 00 f8 12 0c 41 00 00 00 00 00 00 00 00 00 00 00 00 f0 51 c0 e5 d6 7f 00 00 58 09 0c
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior Zend/zend_vm_execute.h:6025:2
To reproduce:
-d "opcache.jit_hot_loop=1" -d "zend_extension=/php-src/modules/opcache.so" -d "opcache.enable_cli=1" -d "opcache.jit=1131"
tester.inc:
sapi/fpm/tests/tester.inc
PHP Version
PHP 8.4.0-dev
Operating System
ubuntu 22.04