Return to sqrt_basic.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / math |
1.1 misho 1: --TEST-- 2: Test return type and value for expected input sqrt() 3: --INI-- 4: precision = 14 5: --FILE-- 6: <?php 7: /* 8: * proto float sqrt(float number) 9: * Function is implemented in ext/standard/math.c 10: */ 11: 12: $arg_0 = 9.0; 13: 14: var_dump(sqrt($arg_0)); 15: 16: ?> 17: --EXPECT-- 18: float(3)