--TEST-- GH-16318 (Recursive array segfaults soap encoding) --EXTENSIONS-- soap --FILE-- "test://","uri"=>"http://soapinterop.org/","trace"=>1,"exceptions"=>0)); foreach ([$test1, $test2] as $test) { try { $client->__soapCall("echoStructArray", array($test), array("soapaction"=>"http://soapinterop.org/","uri"=>"http://soapinterop.org/")); } catch (ValueError $e) { echo $e->getMessage(), "\n"; } } ?> --EXPECT-- Recursive array cannot be encoded Recursive array cannot be encoded