--TEST-- AMQPConnection setTimeout float --SKIPIF-- --FILE-- setTimeout(.34); var_dump($cnn->getTimeout()); $cnn->setTimeout(4.7e-2); var_dump($cnn->getTimeout());?> --EXPECTF-- %s: AMQPConnection::setTimeout(): AMQPConnection::setTimeout($timeout) method is deprecated; use AMQPConnection::setReadTimeout($timeout) instead in %s on line 3 %s: AMQPConnection::getTimeout(): AMQPConnection::getTimeout() method is deprecated; use AMQPConnection::getReadTimeout() instead in %s on line 4 float(0.34) %s: AMQPConnection::setTimeout(): AMQPConnection::setTimeout($timeout) method is deprecated; use AMQPConnection::setReadTimeout($timeout) instead in %s on line 5 %s: AMQPConnection::getTimeout(): AMQPConnection::getTimeout() method is deprecated; use AMQPConnection::getReadTimeout() instead in %s on line 6 float(0.047)