Home
last modified time | relevance | path

Searched refs:modify (Results 1 – 25 of 86) sorted by relevance

1234

/PHP-5.5/ext/date/tests/
H A DDateTime_modify_error.phpt2 Test DateTime::modify() function : error conditions
5 /* Prototype : public DateTime DateTime::modify ( string $modify )
14 echo "*** Testing DateTime::modify() : error conditions ***\n";
20 var_dump( $object->modify() );
23 $modify = "+1 day";
25 var_dump( $object->modify($modify, $extra_arg) );
30 *** Testing DateTime::modify() : error conditions ***
32 -- Testing DateTime::modify() function with less than expected no. of arguments --
34 Warning: DateTime::modify() expects exactly 1 parameter, 0 given in %s on line %d
37 -- Testing DateTime::modify() function with more than expected no. of arguments --
[all …]
H A DDateTime_modify_basic1.phpt2 Test DateTime::modify() function : basic functionality
5 /* Prototype : public DateTime DateTime::modify ( string $modify )
14 echo "*** Testing DateTime::modify() : basic functionality ***\n";
16 // Create a date object to modify
19 $datetime->modify("+1 day");
22 $datetime->modify("+1 week 2 days 4 hours 2 seconds");
25 $datetime->modify("next Thursday");
28 $datetime->modify("last Sunday");
34 *** Testing DateTime::modify() : basic functionality ***
H A DDateTime_modify_variation1.phpt2 Test DateTime::modify() function : usage variation - Passing unexpected values to first argument $m…
5 /* Prototype : public DateTime DateTime::modify ( string $modify )
11 echo "*** Testing DateTime::modify() : usage variation - unexpected values to first argument \$mod…
102 var_dump( $object->modify($format) );
111 *** Testing DateTime::modify() : usage variation - unexpected values to first argument $modify***
160 Warning: DateTime::modify() expects parameter 1 to be string, array given in %sDateTime_modify_vari…
165 Warning: DateTime::modify() expects parameter 1 to be string, array given in %sDateTime_modify_vari…
170 Warning: DateTime::modify() expects parameter 1 to be string, array given in %sDateTime_modify_vari…
175 Warning: DateTime::modify() expects parameter 1 to be string, array given in %sDateTime_modify_vari…
180 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va…
[all …]
H A Dbug45866.phpt2 Bug #45866 (decimal values fed to DateTime->modify() causes long execution times)
8 $date->modify( "+1.61538461538 day" );
12 $date->modify( "61538461538 day" );
16 $date->modify( "£61538461538 day" );
23 Warning: DateTime::modify(): Failed to parse time string (£61538461538 day) at position 0 (%s): Une…
H A Ddate_modify_error.phpt5 /* Prototype : DateTime date_modify ( DateTime $object , string $modify )
8 * Alias to functions: public DateTime DateTime::modify()
26 $modify = "+1 day";
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) );
H A Dbug46268.phpt2 Bug #46268 (When call DateTime#setTime, it seems to be called the last modify method too)
10 $now->modify("1 day");
13 $now->modify("1 hour");
H A Dbug41844.phpt8 $date->modify('-3006 years');
12 $date->modify('-2008 years');
H A Ddate_modify-1.phpt10 $ts->modify("+1 second");
16 $ts->modify("+1 second");
21 $ts->modify("+ 1 hour 1 second");
H A Ddate_modify_basic1.phpt5 /* Prototype : DateTime date_modify ( DateTime $object , string $modify )
8 * Alias to functions: public DateTime DateTime::modify()
16 // Create a date object to modify
H A Dbug41599.phpt2 Bug #41599 (setTime() fails after modify() is used)
11 $start->modify('Tuesday');
H A Dbug62896.phpt14 $date->modify('+0 days');
23 $date->modify('+0 days');
31 $date->modify('+0 days');
H A Doo_002.phpt12 $d->modify("1 hour");
13 $c->modify("1 second ago");
H A DDateTime_extends_basic1.phpt28 echo "\n -- modify date and time --\n";
45 -- modify date and time --
H A Ddate-time-modify-times.phpt2 Test for DateTime::modify() with absolute time statements
30 ->modify( $test )
H A Ddate_period-immutable.phpt15 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );
23 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );
H A Dmktime_basic1.phpt15 echo "*** Testing DateTime::modify() : basic functionality ***\n";
36 *** Testing DateTime::modify() : basic functionality ***
H A Ddate_time_immutable.phpt17 echo "modify():\n";
20 $x = $z->modify("+2 days");
24 $x = $z->modify("+2 days");
102 modify():
/PHP-5.5/ext/spl/tests/
H A Darray_008.phpt12 $bv = "modify";
22 0=>modify - 0=>modify
23 0=>modify - 1=>1
24 0=>modify - 2=>2
25 1=>1 - 0=>modify
28 2=>2 - 0=>modify
H A Darray_004.phpt12 $arr[0] = "modify";
H A Darray_006.phpt16 $arr[0] = "modify";
/PHP-5.5/ext/standard/tests/general_functions/
H A Dhead.phpt36 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
39 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
45 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
48 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
/PHP-5.5/tests/classes/
H A Dconstants_error_006.phpt2 Basic class support - attempting to modify a class constant by assignment
10 echo "\nTrying to modify a class constant directly - should be parse error.\n";
/PHP-5.5/Zend/tests/
H A Dbug44660.phpt40 Warning: Attempt to modify property of non-object in %sbug44660.php on line 15
43 Warning: Attempt to modify property of non-object in %sbug44660.php on line 18
46 Warning: Attempt to modify property of non-object in %sbug44660.php on line 21
H A Dbug52237.phpt11 Warning: Attempt to modify property of non-object in %sbug52237.php on line 3
/PHP-5.5/ext/zip/
H A DTODO2 - stream to add or modify entries

Completed in 219 milliseconds

1234