Skip to content

Assertion failure in ext/soap/php_encoding.c:460 #16256

Closed
@YuanchengJiang

Description

@YuanchengJiang

Description

The following code:

<?php
$radicants = [
"15151324141414.412312232141241",
];
$fusion = $radicants;
class EchoRequest{
}
$wsdl = __DIR__."/bug41004.wsdl";
$client = new SoapClient($wsdl, array('location'=>'test://',"classmap" => $fusion, 'exceptions'=>0, 'trace'=>1));
$echo=new EchoRequest();
$client->echo($echo);

Resulted in this output:

/php-src/ext/soap/php_encoding.c:460: xmlNodePtr master_to_xml_int(encodePtr, zval *, int, xmlNodePtr, int): Assertion `!(((__ht)->u.flags & (1<<2)) != 0)' failed.
Aborted (core dumped)

PHP Version

PHP 8.4.0-dev

Operating System

ubuntu 22.04

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions