<?php
ini_set('default_socket_timeout', 0.01);
$sc = new SoapClient(
    __DIR__ . '/bug-soap-array.wsdl.xml',
    array('trace' => 1)
);
try {
    $sc->doSomething(
        array(
            'correctStrings' => array(
                0 => 'foo',
                1 => 'foo2',
            ),
            'brokenStrings' => array(
                0 => 'bar',
                2 => 'bar2',
            )
        )
    );
} catch (Exception $e) {
    //var_dump($e->getMessage());
}
echo $sc->__getLastRequest() . "\n";

?>
