note 111664 added to soapclient.dorequest
| From: | darren dot yee at emc dot com | Date: | Wed, 13 Mar 2013 22:45:40 +0000 |
| Subject: | note 111664 added to soapclient.dorequest | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194064@lists.php.net to get a copy of this message | ||
Note when extending __doRequest, calling __getLastRequest will probably report incorrect information
unless you make sure to update the internal __last_request variable. Save yourself some headaches.
function __doRequest($request, $location, $action, $version) {
$request = preg_replace('/abc/', 'def', $request);
$ret = parent::__doRequest($request, $location, $action, $version);
$this->__last_request = $request;
return $ret;
}
----
Server IP: 69.147.83.199
Probable Submitter: 137.69.117.58
----
Manual Page -- http://php.net/manual/en/soapclient.dorequest.php
Edit -- https://master.php.net/note/edit/111664
Del: integrated -- https://master.php.net/note/delete/111664/integrated
Del: useless -- https://master.php.net/note/delete/111664/useless
Del: bad code -- https://master.php.net/note/delete/111664/bad+code
Del: spam -- https://master.php.net/note/delete/111664/spam
Del: non-english -- https://master.php.net/note/delete/111664/non-english
Del: in docs -- https://master.php.net/note/delete/111664/in+docs
Del: other reasons-- https://master.php.net/note/delete/111664
Reject -- https://master.php.net/note/reject/111664
Search -- https://master.php.net/manage/user-notes.php