1--TEST-- 2Test exp() - basic function test for exp() 3--INI-- 4serialize_precision=14 5--FILE-- 6<?php 7$values = array(10, 8 10.3, 9 3.9505e3, 10 037, 11 0x5F, 12 "10", 13 "3950.5", 14 "3.9505e3", 15 "039", 16 true, 17 false, 18 ); 19 20$iterator = 1; 21foreach($values as $value) { 22 echo "\n-- Iteration $iterator --\n"; 23 var_dump(exp($value)); 24 $iterator++; 25}; 26 27?> 28--EXPECT-- 29-- Iteration 1 -- 30float(22026.465794807) 31 32-- Iteration 2 -- 33float(29732.618852891) 34 35-- Iteration 3 -- 36float(INF) 37 38-- Iteration 4 -- 39float(29048849665247) 40 41-- Iteration 5 -- 42float(1.811239082889E+41) 43 44-- Iteration 6 -- 45float(22026.465794807) 46 47-- Iteration 7 -- 48float(INF) 49 50-- Iteration 8 -- 51float(INF) 52 53-- Iteration 9 -- 54float(8.6593400423994E+16) 55 56-- Iteration 10 -- 57float(2.718281828459) 58 59-- Iteration 11 -- 60float(1) 61