Searched refs:date_time_set (Results 1 – 14 of 14) sorted by relevance
/PHP-5.3/ext/date/tests/ |
H A D | date_time_set_error.phpt | 2 Test date_time_set() function : error conditions 13 echo "*** Testing date_time_set() : error conditions ***\n"; 15 echo "\n-- Testing date_time_set() function with zero arguments --\n"; 16 var_dump( date_time_set() ); 21 var_dump( date_time_set($datetime) ); 22 var_dump( date_time_set($datetime, $hour) ); 32 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) ); 34 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) ); 36 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) ); 40 *** Testing date_time_set() : error conditions *** [all …]
|
H A D | date_time_set_variation1.phpt | 2 Test date_time_set() function : usage variation - Passing unexpected values to first argument $obje… 104 var_dump( date_time_set($object, $hour, $minute, $sec) ); 137 Warning: date_time_set() expects parameter 1 to be DateTime, double given in %s on line %d 152 Warning: date_time_set() expects parameter 1 to be DateTime, array given in %s on line %d 157 Warning: date_time_set() expects parameter 1 to be DateTime, array given in %s on line %d 162 Warning: date_time_set() expects parameter 1 to be DateTime, array given in %s on line %d 167 Warning: date_time_set() expects parameter 1 to be DateTime, array given in %s on line %d 172 Warning: date_time_set() expects parameter 1 to be DateTime, null given in %s on line %d 177 Warning: date_time_set() expects parameter 1 to be DateTime, null given in %s on line %d 242 Warning: date_time_set() expects parameter 1 to be DateTime, null given in %s on line %d [all …]
|
H A D | date_time_set_basic1.phpt | 2 Test date_time_set() function : basic functionality 5 /* Prototype : DateTime date_time_set ( DateTime $object , int $hour , int $minute [, int $sec… 14 echo "*** Testing date_time_set() : basic functionality ***\n"; 21 date_time_set($datetime, 17, 20); 24 date_time_set($datetime, 19, 05, 59); 27 date_time_set($datetime, 24, 10); 30 date_time_set($datetime, 47, 35, 47); 33 date_time_set($datetime, 54, 25); 39 *** Testing date_time_set() : basic functionality ***
|
H A D | date_time_set_variation2.phpt | 104 var_dump( date_time_set($object, $hour, $minute, $sec) ); 187 Warning: date_time_set() expects parameter 2 to be long, array given in %s 192 Warning: date_time_set() expects parameter 2 to be long, array given in %s 197 Warning: date_time_set() expects parameter 2 to be long, array given in %s 202 Warning: date_time_set() expects parameter 2 to be long, array given in %s 267 Warning: date_time_set() expects parameter 2 to be long, string given in %s 272 Warning: date_time_set() expects parameter 2 to be long, string given in %s 277 Warning: date_time_set() expects parameter 2 to be long, string given in %s 282 Warning: date_time_set() expects parameter 2 to be long, string given in %s 287 Warning: date_time_set() expects parameter 2 to be long, string given in %s [all …]
|
H A D | date_time_set_variation3.phpt | 2 Test date_time_set() function : usage variation - Passing unexpected values to third argument $minu… 104 var_dump( date_time_set($object, $hour, $minute, $sec) ); 187 Warning: date_time_set() expects parameter 3 to be long, array given in %s on line %d 192 Warning: date_time_set() expects parameter 3 to be long, array given in %s on line %d 197 Warning: date_time_set() expects parameter 3 to be long, array given in %s on line %d 202 Warning: date_time_set() expects parameter 3 to be long, array given in %s on line %d 267 Warning: date_time_set() expects parameter 3 to be long, string given in %s on line %d 272 Warning: date_time_set() expects parameter 3 to be long, string given in %s on line %d 277 Warning: date_time_set() expects parameter 3 to be long, string given in %s on line %d 282 Warning: date_time_set() expects parameter 3 to be long, string given in %s on line %d [all …]
|
H A D | date_time_set_variation4.phpt | 2 Test date_time_set() function : usage variation - Passing unexpected values to forth argument $sec. 104 var_dump( date_time_set($object, $hour, $minute, $sec) ); 187 Warning: date_time_set() expects parameter 4 to be long, array given in %s on line %d 192 Warning: date_time_set() expects parameter 4 to be long, array given in %s on line %d 197 Warning: date_time_set() expects parameter 4 to be long, array given in %s on line %d 202 Warning: date_time_set() expects parameter 4 to be long, array given in %s on line %d 267 Warning: date_time_set() expects parameter 4 to be long, string given in %s on line %d 272 Warning: date_time_set() expects parameter 4 to be long, string given in %s on line %d 277 Warning: date_time_set() expects parameter 4 to be long, string given in %s on line %d 282 Warning: date_time_set() expects parameter 4 to be long, string given in %s on line %d [all …]
|
H A D | bug46268.phpt | 17 //date_time_set($now, 0, 0, 0);
|
H A D | DateTime_setTime_basic1.phpt | 8 * Alias to functions: date_time_set
|
H A D | DateTime_setTime_error.phpt | 8 * Alias to functions: date_time_set
|
H A D | DateTime_setTime_variation1.phpt | 8 * Alias to functions: date_time_set
|
H A D | DateTime_setTime_variation2.phpt | 8 * Alias to functions: date_time_set
|
H A D | DateTime_setTime_variation3.phpt | 8 * Alias to functions: date_time_set
|
/PHP-5.3/ext/date/ |
H A D | php_date.h | 67 PHP_FUNCTION(date_time_set);
|
H A D | php_date.c | 415 PHP_FE(date_time_set, arginfo_date_time_set) 458 PHP_ME_MAPPING(setTime, date_time_set, arginfo_date_method_time_set, 0) 3087 PHP_FUNCTION(date_time_set) in PHP_FUNCTION() argument
|
Completed in 66 milliseconds