Home
last modified time | relevance | path

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

/PHP-5.6/ext/date/tests/
H A Ddate_isodate_set_error.phpt2 Test date_isodate_set() function : error conditions
15 echo "*** Testing date_isodate_set() : error conditions ***\n";
17 echo "\n-- Testing date_isodate_set() function with zero arguments --\n";
18 var_dump( date_isodate_set() );
22 var_dump( date_isodate_set($datetime) );
29 var_dump( date_isodate_set($datetime, $year, $week, $day, $extra_arg) );
33 var_dump( date_isodate_set($invalid_obj, $year, $week, $day) );
35 var_dump( date_isodate_set($invalid_obj, $year, $week, $day) );
37 var_dump( date_isodate_set($invalid_obj, $year, $week, $day) );
41 *** Testing date_isodate_set() : error conditions ***
[all …]
H A Ddate_isodate_set_variation1.phpt2 Test date_isodate_set() function : usage variation - Passing unexpected values to first argument $o…
5 /* Prototype : DateTime date_isodate_set ( DateTime $object , int $year , int $week [, int $da…
104 var_dump( date_isodate_set($object, $year, $month, $day) );
152 Warning: date_isodate_set() expects parameter 1 to be DateTime, array given in %s on line %d
157 Warning: date_isodate_set() expects parameter 1 to be DateTime, array given in %s on line %d
162 Warning: date_isodate_set() expects parameter 1 to be DateTime, array given in %s on line %d
167 Warning: date_isodate_set() expects parameter 1 to be DateTime, array given in %s on line %d
172 Warning: date_isodate_set() expects parameter 1 to be DateTime, null given in %s on line %d
177 Warning: date_isodate_set() expects parameter 1 to be DateTime, null given in %s on line %d
242 Warning: date_isodate_set() expects parameter 1 to be DateTime, null given in %s on line %d
[all …]
H A D012.phpt2 date_isodate_set() tests
8 var_dump(date_isodate_set($dto, 2006, 2, 15));
10 var_dump(date_isodate_set($dto, 2006));
12 var_dump(date_isodate_set($dto, 2006, 5));
14 var_dump(date_isodate_set($dto, 2006, 100, 15));
16 var_dump(date_isodate_set($dto, 2006, 100, 15, 10));
32 Warning: date_isodate_set() expects at least 3 parameters, 2 given in %s on line %d
54 Warning: date_isodate_set() expects at most 4 parameters, 5 given in %s on line %d
H A Ddate_isodate_set_basic1.phpt2 Test date_isodate_set() function : basic functionality
5 /* Prototype : DateTime date_isodate_set ( DateTime $object , int $year , int $week [, int $da…
11 echo "*** Testing date_isodate_set() : basic functionality ***\n";
20 date_isodate_set($datetime, 2008, 40);
24 date_isodate_set($datetime, 2009, 30, 3);
28 date_isodate_set($datetime, 2008, 30, 3);
34 *** Testing date_isodate_set() : basic functionality ***
H A Ddate_isodate_set_variation2.phpt2 Test date_isodate_set() function : usage variation - Passing unexpected values to second argument $…
104 var_dump( date_isodate_set($object, $year, $month, $day) );
187 Warning: date_isodate_set() expects parameter 2 to be long, array given in %s on line %d
192 Warning: date_isodate_set() expects parameter 2 to be long, array given in %s on line %d
197 Warning: date_isodate_set() expects parameter 2 to be long, array given in %s on line %d
202 Warning: date_isodate_set() expects parameter 2 to be long, array given in %s on line %d
267 Warning: date_isodate_set() expects parameter 2 to be long, string given in %s on line %d
272 Warning: date_isodate_set() expects parameter 2 to be long, string given in %s on line %d
277 Warning: date_isodate_set() expects parameter 2 to be long, string given in %s on line %d
282 Warning: date_isodate_set() expects parameter 2 to be long, string given in %s on line %d
[all …]
H A Ddate_isodate_set_variation3.phpt2 Test date_isodate_set() function : usage variation - Passing unexpected values to third argument $w…
104 var_dump( date_isodate_set($object, $year, $month, $day) );
187 Warning: date_isodate_set() expects parameter 3 to be long, array given in %s on line %d
192 Warning: date_isodate_set() expects parameter 3 to be long, array given in %s on line %d
197 Warning: date_isodate_set() expects parameter 3 to be long, array given in %s on line %d
202 Warning: date_isodate_set() expects parameter 3 to be long, array given in %s on line %d
267 Warning: date_isodate_set() expects parameter 3 to be long, string given in %s on line %d
272 Warning: date_isodate_set() expects parameter 3 to be long, string given in %s on line %d
277 Warning: date_isodate_set() expects parameter 3 to be long, string given in %s on line %d
282 Warning: date_isodate_set() expects parameter 3 to be long, string given in %s on line %d
[all …]
H A Ddate_isodate_set_variation4.phpt2 Test date_isodate_set() function : usage variation - Passing unexpected values to forth argument $d…
104 var_dump( date_isodate_set($object, $year, $month, $day) );
187 Warning: date_isodate_set() expects parameter 4 to be long, array given in %s on line %d
192 Warning: date_isodate_set() expects parameter 4 to be long, array given in %s on line %d
197 Warning: date_isodate_set() expects parameter 4 to be long, array given in %s on line %d
202 Warning: date_isodate_set() expects parameter 4 to be long, array given in %s on line %d
267 Warning: date_isodate_set() expects parameter 4 to be long, string given in %s on line %d
272 Warning: date_isodate_set() expects parameter 4 to be long, string given in %s on line %d
277 Warning: date_isodate_set() expects parameter 4 to be long, string given in %s on line %d
282 Warning: date_isodate_set() expects parameter 4 to be long, string given in %s on line %d
[all …]
H A DDateTime_setISODate_error.phpt9 * Alias to functions: date_isodate_set
26 echo "\n-- Testing date_isodate_set() function with more than expected no. of arguments --\n";
47 -- Testing date_isodate_set() function with more than expected no. of arguments --
H A DDateTime_setISODate_basic1.phpt8 * Alias to functions: date_isodate_set
H A DDateTime_setISODate_variation1.phpt8 * Alias to functions: date_isodate_set
H A DDateTime_setISODate_variation2.phpt8 * Alias to functions: date_isodate_set
H A DDateTime_setISODate_variation3.phpt8 * Alias to functions: date_isodate_set
/PHP-5.6/ext/date/
H A Dphp_date.h71 PHP_FUNCTION(date_isodate_set);
H A Dphp_date.c429 PHP_FE(date_isodate_set, arginfo_date_isodate_set)
482 PHP_ME_MAPPING(setISODate, date_isodate_set, arginfo_date_method_isodate_set, 0)
3552 PHP_FUNCTION(date_isodate_set) in PHP_FUNCTION() argument

Completed in 41 milliseconds