Doc #64673 [NEW]: Call to undefined method AMQPConnection::setTimeout()
| From: | nathan dot goulding at gmail dot com | Date: | Thu, 18 Apr 2013 23:24:54 +0000 |
| Subject: | Doc #64673 [NEW]: Call to undefined method AMQPConnection::setTimeout() | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-9745@lists.php.net to get a copy of this message | ||
From: nathan dot goulding at gmail dot com
Operating system: Centos 6.2
PHP version: 5.3.24
Package: amqp
Bug Type: Documentation Problem
Bug description:Call to undefined method AMQPConnection::setTimeout()
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 bug report at https://bugs.php.net/bug.php?id=64673&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64673&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64673&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64673&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64673&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64673&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64673&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64673&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64673&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64673&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64673&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64673&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64673&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64673&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64673&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64673&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64673&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64673&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64673&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64673&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64673&r=mysqlcfg