Doc #64673 [Opn->Nab]: Call to undefined method AMQPConnection::setTimeout()

From: Date: Sat, 01 Feb 2014 16:54:08 +0000
Subject: Doc #64673 [Opn->Nab]: Call to undefined method AMQPConnection::setTimeout()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10933@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64673&edit=1 ID: 64673 Updated by: krakjoe@php.net Reported by: nathan dot goulding at gmail dot com Summary: Call to undefined method AMQPConnection::setTimeout() -Status: Open +Status: Not a bug Type: Documentation Problem Package: amqp Operating System: Centos 6.2 PHP Version: 5.3.24 -Assigned To: +Assigned To: lstrojny Block user comment: N Private report: N New Comment: The method definitely exists today, and is marked deprecated in the latest source too. Assigning to one of the authors ... Previous Comments: ------------------------------------------------------------------------ [2013-04-18 23:24:53] nathan dot goulding at gmail dot com Description: ------------ --- From manual page: http://www.php.net/amqpconnection.settimeout --- The method is identified as setTimeout() and doesn't appear to exist. Test script: --------------- <?php $connection = new AMQPConnection(); $connection->setHost('host'); $connection->setLogin('login'); $connection->setPassword('password'); $connection->setTimeout(5); Expected result: ---------------- The timeout on the connection to be set to 5 seconds. Actual result: -------------- PHP Fatal error: Call to undefined method AMQPConnection::setTimeout() in test.php on line 8 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64673&edit=1

« previous php.doc.bugs (#10933) next »