--TEST-- AMQPConnection setReadTimeout string --SKIPIF-- --FILE-- setHost(getenv('PHP_AMQP_HOST')); $cnn->setReadTimeout(".34"); var_dump($cnn->getReadTimeout()); $cnn->setReadTimeout("4.7e-2"); var_dump($cnn->getReadTimeout());?> --EXPECT-- float(0.34) float(0.047)