1--TEST--
2Test is_infinite() - basic function test is_infinite()
3--FILE--
4<?php
5$values = array(234,
6                -234,
7                23.45e1,
8                -23.45e1,
9                0xEA,
10                0352,
11                "234",
12                "234.5",
13                "23.45e1",
14                true,
15                false,
16                pow(0, -2),
17                acos(1.01));
18;
19for ($i = 0; $i < count($values); $i++) {
20    $res = is_infinite($values[$i]);
21    var_dump($res);
22}
23?>
24--EXPECTF--
25Deprecated: Power of base 0 and negative exponent is deprecated in %s on line %d
26bool(false)
27bool(false)
28bool(false)
29bool(false)
30bool(false)
31bool(false)
32bool(false)
33bool(false)
34bool(false)
35bool(false)
36bool(false)
37bool(true)
38bool(false)
39