Doc #64673 [Com]: Call to undefined method AMQPConnection::setTimeout()

From: Date: Tue, 04 Nov 2014 13:28:01 +0000
Subject: Doc #64673 [Com]: Call to undefined method AMQPConnection::setTimeout()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11603@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 Comment by: prabhukeer1992 at gmail dot com Reported by: nathan dot goulding at gmail dot com Summary: Call to undefined method AMQPConnection::setTimeout() Status: Assigned Type: Documentation Problem Package: amqp Operating System: Centos 6.2 PHP Version: 5.3.24 Assigned To: lstrojny Block user comment: N Private report: N New Comment: eeererr Previous Comments: ------------------------------------------------------------------------ [2014-02-01 16:54:08] krakjoe@php.net The method definitely exists today, and is marked deprecated in the latest source too. Assigning to one of the authors ... ------------------------------------------------------------------------ [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 (#11603) next »