Searched refs:date_modify (Results 1 – 12 of 12) sorted by relevance
/PHP-5.4/ext/date/tests/ |
H A D | date_modify_error.phpt | 2 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 D | date_modify_variation1.phpt | 2 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 D | date_modify_variation2.phpt | 2 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 D | date_modify_basic1.phpt | 2 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 D | date_modify-2.phpt | 2 date_modify() function [2] 10 date_modify($d, "+1 hour");
|
H A D | DateTime_compare_basic1.phpt | 36 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 D | date_modify-1.phpt | 2 date_modify() function [1]
|
H A D | DateTime_modify_basic1.phpt | 8 * Alias to functions: public date_modify()
|
H A D | DateTime_modify_error.phpt | 8 * Alias to functions: public date_modify()
|
H A D | DateTime_modify_variation1.phpt | 8 * Alias to functions: public date_modify()
|
/PHP-5.4/ext/date/ |
H A D | php_date.h | 59 PHP_FUNCTION(date_modify);
|
H A D | php_date.c | 411 PHP_FE(date_modify, arginfo_date_modify) 456 PHP_ME_MAPPING(modify, date_modify, arginfo_date_method_modify, 0) 2831 PHP_FUNCTION(date_modify) in PHP_FUNCTION() argument
|
Completed in 33 milliseconds