Hi:
I have my PHP box setup with STRICT error reporting, and it came up
with some errors and warnings. To fix it, I had to change these 4
lines:
Line 380:
$this->protocol->keepAlive();
to
if (isset($this->protocol)) $this->protocol->keepAlive();
(The warning is only noticeable when the fsockopen from line 916 was
not successful)
Line 916:
$socket = @fsockopen("{$this->ssl}{$this->host}", $this->port,
$errno, $errstr, 15);
to:
$socket = fsockopen("{$this->ssl}{$this->host}", $this->port, $errno,
$errstr, 30);
(Without the @, fsockopen displays a warning. And I lowered the
timeout to 15 seconds as 30 is way too much to wait for a socket
connection in my opinion).
Line 1824:
public $__cancelProxyCreationTag;
to
public $__cancelProxyCreationTag = 0;
(Required initialization)
Line 1943:
$result->__cancelProxyCreationTag = ++$client->cancelProxyCreationTag;
to:
$this->__cancelProxyCreationTag = ++$client->cancelProxyCreationTag;
(Not sure if this is right but $result->__cancelProxyCreationTag seems
out of place there so I guessed it should have been
$this->__cancelProxyCreationTag).
Have a nice Easter holiday.
Antonio
|