1--TEST--
2Test is_finite() - basic function test is_finite()
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_finite($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(true)
27bool(true)
28bool(true)
29bool(true)
30bool(true)
31bool(true)
32bool(true)
33bool(true)
34bool(true)
35bool(true)
36bool(true)
37bool(false)
38bool(false)
39