--TEST-- Bug #77410: Segmentation Fault when executing method with an empty parameter --EXTENSIONS-- soap --FILE-- WSDL_CACHE_NONE, 'trace' => 1, ]) extends SoapClient { public function __doRequest($request, $location, $action, $version, $one_way = 0): ?string { echo $request, "\n"; return ''; } }; $client->MyMethod([ 'parameter' => [], ]); ?> --EXPECT--