File: amqpconnection_construct_ini_read_timeout.phpt

package info (click to toggle)
php-amqp 1.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,024 kB
  • ctags: 578
  • sloc: ansic: 4,223; xml: 784; php: 445; pascal: 42; makefile: 1
file content (13 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
AMQPConnection constructor with amqp.read_timeout ini value set
--SKIPIF--
<?php if (!extension_loaded("amqp")) print "skip"; ?>
--INI--
amqp.read_timeout=202.202
--FILE--
<?php
$cnn = new AMQPConnection();
var_dump($cnn->getReadTimeout());
?>
--EXPECTF--
float(202.202)