Searched refs:date_sun_info (Results 1 – 9 of 9) sorted by relevance
/PHP-7.3/ext/date/tests/ |
H A D | date_sun_info_error.phpt | 2 Test date_sun_info() function : error variations 5 /* Prototype : array date_sun_info ( int $time , float $latitude , float $longitude ) 10 echo "*** Testing date_sun_info() : usage variations ***\n"; 17 var_dump( date_sun_info() ); 18 var_dump( date_sun_info($time) ); 19 var_dump( date_sun_info($time, $latitude) ); 29 *** Testing date_sun_info() : usage variations *** 31 -- Testing date_sun_info() function with less than expected no. of arguments -- 33 Warning: date_sun_info() expects exactly 3 parameters, 0 given in %s on line %d 36 Warning: date_sun_info() expects exactly 3 parameters, 1 given in %s on line %d [all …]
|
H A D | date_sun_info_variation2.phpt | 2 Test date_sun_info() function : error variations - Pass unexpected values for latitude argument 5 /* Prototype : array date_sun_info ( int $time , float $latitude , float $longitude ) 12 echo "*** Testing date_sun_info() : usage variations ***\n"; 71 // loop through each element of $inputs to check the behaviour of date_sun_info() 75 var_dump(date_sun_info(strtotime("2006-12-12"), $input, 35.2333)); 82 *** Testing date_sun_info() : usage variations *** 416 Warning: date_sun_info() expects parameter 2 to be float, string given in %s on line %d 421 Warning: date_sun_info() expects parameter 2 to be float, string given in %s on line %d 426 Warning: date_sun_info() expects parameter 2 to be float, array given in %s on line %d 431 Warning: date_sun_info() expects parameter 2 to be float, string given in %s on line %d [all …]
|
H A D | date_sun_info_variation1.phpt | 2 Test date_sun_info() function : error variations - Pass unexpected values for time argument 5 /* Prototype : array date_sun_info ( int $time , float $latitude , float $longitude ) 12 echo "*** Testing date_sun_info() : usage variations ***\n"; 71 // loop through each element of $inputs to check the behaviour of date_sun_info() 75 var_dump(date_sun_info($input, 31.7667, 35.2333)); 82 *** Testing date_sun_info() : usage variations *** 416 Warning: date_sun_info() expects parameter 1 to be int, string given in %s on line %d 421 Warning: date_sun_info() expects parameter 1 to be int, string given in %s on line %d 426 Warning: date_sun_info() expects parameter 1 to be int, array given in %s on line %d 431 Warning: date_sun_info() expects parameter 1 to be int, string given in %s on line %d [all …]
|
H A D | date_sun_info_variation3.phpt | 2 Test date_sun_info() function : usage variations - Pass unexpected values for longitude argument 5 /* Prototype : array date_sun_info ( int $time , float $latitude , float $longitude ) 12 echo "*** Testing date_sun_info() : usage variations ***\n"; 71 // loop through each element of $inputs to check the behaviour of date_sun_info() 76 var_dump(date_sun_info(strtotime("2006-12-12"), 31.7667, $input)); 83 *** Testing date_sun_info() : usage variations *** 417 Warning: date_sun_info() expects parameter 3 to be float, string given in %s on line %d 422 Warning: date_sun_info() expects parameter 3 to be float, string given in %s on line %d 427 Warning: date_sun_info() expects parameter 3 to be float, array given in %s on line %d 432 Warning: date_sun_info() expects parameter 3 to be float, string given in %s on line %d [all …]
|
H A D | date_sun_info_003.phpt | 2 Test basic date_sun_info() 8 $sun_info = date_sun_info(strtotime("2015-01-12 00:00:00 UTC"), 89.00, 1.00); 15 $sun_info = date_sun_info(strtotime("2015-09-12 00:00:00 UTC"), 89.00, 1.00);
|
H A D | date_sun_info_001.phpt | 2 Test basic date_sun_info() 6 $sun_info = date_sun_info(strtotime("2006-12-12"), 31.7667, 35.2333);
|
H A D | date_sun_info_002.phpt | 2 Test basic date_sun_info() 6 $sun_info = date_sun_info(strtotime("2007-04-13 08:31:15 UTC"), 59.21, 9.61);
|
/PHP-7.3/ext/date/ |
H A D | php_date.h | 123 PHP_FUNCTION(date_sun_info);
|
H A D | php_date.c | 481 PHP_FE(date_sun_info, arginfo_date_sun_info) 5046 PHP_FUNCTION(date_sun_info) in PHP_FUNCTION() argument
|
Completed in 32 milliseconds