Searched refs:modify (Results 1 – 25 of 112) sorted by relevance
12345
12 $bv = "modify";20 0=>modify - 0=>modify21 0=>modify - 1=>122 0=>modify - 2=>223 1=>1 - 0=>modify26 2=>2 - 0=>modify
2 Test DateTime::modify() function : basic functionality8 echo "*** Testing DateTime::modify() : basic functionality ***\n";10 // Create a date object to modify13 $datetime->modify("+1 day");16 $datetime->modify("+1 week 2 days 4 hours 2 seconds");19 $datetime->modify("next Thursday");22 $datetime->modify("last Sunday");27 *** Testing DateTime::modify() : basic functionality ***
2 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…
2 DateTimeImmutable::modify() with invalid format7 var_dump($datetime->modify(''));11 Warning: DateTimeImmutable::modify(): Failed to parse time string () at position 0 ( in %s on line …
7 $earlyDate1 = DateTime::createFromFormat('U.u', '1.8642')->modify('-5 seconds');8 $earlyDate2 = DateTime::createFromFormat('U.u', '1.2768')->modify('-5 seconds');9 $earlyDate3 = DateTime::createFromFormat('U.u', '1.2768')->modify('-5 seconds');
2 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");
2 Bug #80409: DateTime::modify() loses time with 'weekday' parameter15 $date2->modify('+1 day');18 $date1->modify('+1 weekday');
8 $date->modify('-3006 years');12 $date->modify('-2008 years');
2 Bug #73942: $date->modify('Friday this week') doesn't return a Friday if $date is a Sunday7 $date->modify('Friday this week');
16 echo $dt->modify( "+1 day" )->format( "Y-m-d H:i:s.u" ), "\n";19 echo $dt->modify( "-3 months" )->format( "Y-m-d H:i:s.u" ), "\n";25 echo $dt->modify( "yesterday" )->format( "Y-m-d H:i:s.u" ), "\n";28 echo $dt->modify( "noon" )->format( "Y-m-d H:i:s.u" ), "\n";31 echo $dt->modify( "10 weekday" )->format( "Y-m-d H:i:s.u" ), "\n";
8 $ts->modify("+1 second");14 $ts->modify("+1 second");19 $ts->modify("+ 1 hour 1 second");
2 Bug #41599 (setTime() fails after modify() is used)11 $start->modify('Tuesday');
8 echo "*** Testing DateTime::modify() : basic functionality ***\n";26 *** Testing DateTime::modify() : basic functionality ***
12 $d->modify("1 hour");13 $c->modify("1 second ago");
14 $date->modify('+0 days');23 $date->modify('+0 days');31 $date->modify('+0 days');
2 Test for DateTime::modify() with absolute time statements30 ->modify( $test )
28 echo "\n -- modify date and time --\n";44 -- modify date and time --
17 # Ensure we can modify properties (retrieve for write)26 # Ensure we can modify properties (retrieve for write)
15 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );23 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );
30 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…33 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…42 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
52 Attempt to modify property "a" on null56 Attempt to modify property "a" on null60 Attempt to modify property "a" on null64 Attempt to modify property "a" on null
60 Attempt to modify property "p" on bool63 Attempt to modify property "p" on bool66 Attempt to modify property "p" on bool
2 Basic class support - attempting to modify a class constant by assignment10 echo "\nTrying to modify a class constant directly - should be parse error.\n";
33 ["modify"]=>52 ["modify"]=>71 ["modify"]=>
51 changetype: modify62 changetype: modify82 changetype: modify123 changetype: modify
Completed in 22 milliseconds