Home
last modified time | relevance | path

Searched refs:date_modify (Results 1 – 12 of 12) sorted by relevance

/PHP-5.5/ext/date/tests/
H A Ddate_modify_error.phpt2 Test date_modify() function : error conditions
14 echo "*** Testing date_modify() : error conditions ***\n";
16 echo "\n-- Testing date_modify() function with zero arguments --\n";
17 var_dump( date_modify() );
23 var_dump( date_modify($datetime) );
28 var_dump( date_modify($datetime, $modify, $extra_arg) );
32 var_dump( date_modify($invalid_obj, $modify) );
34 var_dump( date_modify($invalid_obj, $modify) );
36 var_dump( date_modify($invalid_obj, $modify) );
41 *** Testing date_modify() : error conditions ***
[all …]
H A Ddate_modify_variation1.phpt2 Test date_modify() function : usage variation - Passing unexpected values to first argument $object.
5 /* Prototype : DateTime date_modify ( DateTime $object , string $modify )
102 var_dump( date_modify($object, $format) );
150 Warning: date_modify() expects parameter 1 to be DateTime, array given in %s on line %d
155 Warning: date_modify() expects parameter 1 to be DateTime, array given in %s on line %d
160 Warning: date_modify() expects parameter 1 to be DateTime, array given in %s on line %d
165 Warning: date_modify() expects parameter 1 to be DateTime, array given in %s on line %d
170 Warning: date_modify() expects parameter 1 to be DateTime, null given in %s on line %d
175 Warning: date_modify() expects parameter 1 to be DateTime, null given in %s on line %d
240 Warning: date_modify() expects parameter 1 to be DateTime, null given in %s on line %d
[all …]
H A Ddate_modify_variation2.phpt2 Test date_modify() function : usage variation - Passing unexpected values to second argument $forma…
5 /* Prototype : DateTime date_modify ( DateTime $object , string $modify )
11 echo "*** Testing date_modify() : usage variation - unexpected values to second argument \$format*…
102 var_dump( date_modify($object, $format) );
111 *** Testing date_modify() : usage variation - unexpected values to second argument $format***
160 Warning: date_modify() expects parameter 2 to be string, array given in %sdate_modify_variation2.ph…
165 Warning: date_modify() expects parameter 2 to be string, array given in %sdate_modify_variation2.ph…
170 Warning: date_modify() expects parameter 2 to be string, array given in %sdate_modify_variation2.ph…
175 Warning: date_modify() expects parameter 2 to be string, array given in %sdate_modify_variation2.ph…
180 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.…
[all …]
H A Ddate_modify_basic1.phpt2 Test date_modify() function : basic functionality
5 /* Prototype : DateTime date_modify ( DateTime $object , string $modify )
14 echo "*** Testing date_modify() : basic functionality ***\n";
19 date_modify($datetime, "+1 day");
22 date_modify($datetime, "+1 week 2 days 4 hours 2 seconds");
25 date_modify($datetime, "next Thursday");
28 date_modify($datetime, "last Sunday");
34 *** Testing date_modify() : basic functionality ***
H A Ddate_modify-2.phpt2 date_modify() function [2]
10 date_modify($d, "+1 hour");
H A DDateTime_compare_basic1.phpt36 date_modify($obj1, "+1 day");
45 date_modify($obj2, "+1 day");
46 date_modify($obj3, "+1 day");
47 date_modify($obj4, "+1 day");
H A Ddate_modify-1.phpt2 date_modify() function [1]
H A DDateTime_modify_error.phpt8 * Alias to functions: public date_modify()
H A DDateTime_modify_basic1.phpt8 * Alias to functions: public date_modify()
H A DDateTime_modify_variation1.phpt8 * Alias to functions: public date_modify()
/PHP-5.5/ext/date/
H A Dphp_date.h61 PHP_FUNCTION(date_modify);
H A Dphp_date.c415 PHP_FE(date_modify, arginfo_date_modify)
470 PHP_ME_MAPPING(modify, date_modify, arginfo_date_method_modify, 0)
3125 PHP_FUNCTION(date_modify) in PHP_FUNCTION() argument

Completed in 69 milliseconds