--TEST-- Bug #71711: Soap Server Member variables reference bug --EXTENSIONS-- soap --FILE-- '', 'uri' => 'http://example.org']) extends SoapClient { public function __doRequest($request, $location, $action, $version, $one_way = 0): string { echo $request; return ''; } }; $ref = array("foo"); $data = new stdClass; $data->prop =& $ref; $client->foo($data); ?> --EXPECT-- foo