Closed
Description
Description
The following code:
<?php
$server = new soapserver(null,array('uri'=>"http://testuri.org"));
$fusion = $server;
$ao2 = clone $fusion;
Resulted in this output:
/php-src/ext/soap/soap.c:4571:15: runtime error: member access within misaligned address 0x000000000123 for type 'struct _soapService', which requires 8 byte alignment
0x000000000123: note: pointer points here
<memory cannot be printed>
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /php-src/ext/soap/soap.c:4571:15
PHP Version
PHP 8.4.0-dev
Operating System
ubuntu 22.04