summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/sqrt_basic.phpt
blob: ef665a02163aed5dfb13019a10a0114865da4bc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
Test return type and value for expected input sqrt()
--INI--
precision = 14
--FILE--
<?php
/*
 * proto float sqrt(float number)
 * Function is implemented in ext/standard/math.c
*/

$arg_0 = 9.0;

var_dump(sqrt($arg_0));

?>
--EXPECT--
float(3)