In the last few days I've been working on a piece of code in PHP that had to integrate with SalesForce. During the course of this work I bumped into some minor annoyances (or rather, a minor annoyance) with ext/soap, which I was able to quickly fix thanks to Dmitry's excellently structured code. For those who are interested, you can now set custom SOAP headers using SoapClient::__setSoapHeaders().

