Home
last modified time | relevance | path

Searched refs:date_time_set (Results 1 – 14 of 14) sorted by relevance

/PHP-5.3/ext/date/tests/
H A Ddate_time_set_error.phpt2 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 Ddate_time_set_variation1.phpt2 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 Ddate_time_set_basic1.phpt2 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 Ddate_time_set_variation2.phpt104 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 Ddate_time_set_variation3.phpt2 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 Ddate_time_set_variation4.phpt2 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 Dbug46268.phpt17 //date_time_set($now, 0, 0, 0);
H A DDateTime_setTime_basic1.phpt8 * Alias to functions: date_time_set
H A DDateTime_setTime_error.phpt8 * Alias to functions: date_time_set
H A DDateTime_setTime_variation1.phpt8 * Alias to functions: date_time_set
H A DDateTime_setTime_variation2.phpt8 * Alias to functions: date_time_set
H A DDateTime_setTime_variation3.phpt8 * Alias to functions: date_time_set
/PHP-5.3/ext/date/
H A Dphp_date.h67 PHP_FUNCTION(date_time_set);
H A Dphp_date.c415 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