Bu ne olması nedeni olabilir:
public function __construct($host, $port, $timeout = 5){
$errnum = 0;
$errstr = '';
Bunun yerine:
public function __construct($host, $port, $errnum = 0, $errstr = '', $timeout = 5){
?
Neden bazı params ve diğerleri değil?
Thanks a lot, MEM