1--TEST-- 2Test variations in usage of sinh() 3--INI-- 4serialize_precision = 10 5--FILE-- 6<?php 7/* 8 * Function is implemented in ext/standard/math.c 9*/ 10 11 12//Test sinh with a different input values 13 14$values = array(23, 15 -23, 16 2.345e1, 17 -2.345e1, 18 0x17, 19 027, 20 "23", 21 "23.45", 22 "2.345e1", 23 "1000", 24 null, 25 true, 26 false); 27 28for ($i = 0; $i < count($values); $i++) { 29 $res = sinh($values[$i]); 30 var_dump($res); 31} 32 33?> 34--EXPECT-- 35float(4872401723) 36float(-4872401723) 37float(7641446995) 38float(-7641446995) 39float(4872401723) 40float(4872401723) 41float(4872401723) 42float(7641446995) 43float(7641446995) 44float(INF) 45float(0) 46float(1.175201194) 47float(0) 48