Lines Matching refs:localtime
2 Test localtime() function : usage variation - Passing higher positive and negetive float values to …
7 /* Prototype : array localtime([int timestamp [, bool associative_array]])
8 * Description: Returns the results of the C system call localtime as an associative array
14 echo "*** Testing localtime() : usage variation ***\n";
20 echo "\n-- Testing localtime() function with 'float 12.3456789000e10' to timestamp --\n";
22 var_dump( localtime($timestamp) );
23 var_dump( localtime($timestamp, $is_associative) );
25 echo "\n-- Testing localtime() function with 'float -12.3456789000e10' to timestamp --\n";
27 var_dump( localtime($timestamp) );
28 var_dump( localtime($timestamp, $is_associative) );
33 *** Testing localtime() : usage variation ***
35 -- Testing localtime() function with 'float 12.3456789000e10' to timestamp --
37 Warning: localtime() expects parameter 1 to be integer, float given in %s on line %d
40 Warning: localtime() expects parameter 1 to be integer, float given in %s on line %d
43 -- Testing localtime() function with 'float -12.3456789000e10' to timestamp --
45 Warning: localtime() expects parameter 1 to be integer, float given in %s on line %d
48 Warning: localtime() expects parameter 1 to be integer, float given in %s on line %d