Home
last modified time | relevance | path

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

1234567

/PHP-8.2/ext/date/tests/
H A DDatePeriod_properties2.phpt2 DatePeriod: Test cannot modify read only properties
34 $period->start->modify("+1 hour");
41 Cannot modify readonly property DatePeriod::$recurrences
45 Cannot modify readonly property DatePeriod::$start
46 Cannot modify readonly property DatePeriod::$start
47 Cannot modify readonly property DatePeriod::$current
48 Cannot modify readonly property DatePeriod::$current
49 Cannot modify readonly property DatePeriod::$end
50 Cannot modify readonly property DatePeriod::$end
51 Cannot modify readonly property DatePeriod::$interval
[all …]
H A DDateTime_modify_basic1.phpt2 Test DateTime::modify() function : basic functionality
8 echo "*** Testing DateTime::modify() : basic functionality ***\n";
10 // Create a date object to modify
13 $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 ***
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 DDateTimeImmutable_modify_invalid_format.phpt2 DateTimeImmutable::modify() with invalid format
7 var_dump($datetime->modify(''));
11 Warning: DateTimeImmutable::modify(): Failed to parse time string () at position 0 ( in %s on line …
H A Dgh10583.phpt2 Bug GH-10583 (DateTime modify with tz pattern should not update linked timezone)
8 var_dump($dt->modify('+1 s')->format('c'));
12 var_dump($dt->modify('+1 s')->format('c'));
H A Dbug68078_negative.phpt7 $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');
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 Dgh9891.phpt2 Bug GH-9891 (DateTime modify with unixtimestamp (@) must work like setTimestamp)
6 $m->modify('@1234567890');
17 $a->modify('@' . $a->getTimestamp());
H A Dbug41844.phpt8 $date->modify('-3006 years');
12 $date->modify('-2008 years');
H A Dbug73942.phpt2 Bug #73942: $date->modify('Friday this week') doesn't return a Friday if $date is a Sunday
7 $date->modify('Friday this week');
H A Ddate_time_fractions.phpt16 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";
H A Ddate_modify-1.phpt8 $ts->modify("+1 second");
14 $ts->modify("+1 second");
19 $ts->modify("+ 1 hour 1 second");
H A Dbug-gh11368.phpt2 Bug GH-11368: Date modify returns invalid datetime
13 $datetime->modify('-100 ms');
/PHP-8.2/ext/spl/tests/
H A Darray_008.phpt12 $bv = "modify";
20 0=>modify - 0=>modify
21 0=>modify - 1=>1
22 0=>modify - 2=>2
23 1=>1 - 0=>modify
26 2=>2 - 0=>modify
/PHP-8.2/ext/tidy/tests/
H A D036.phpt67 Cannot modify readonly property tidyNode::$value
68 Cannot modify readonly property tidyNode::$name
69 Cannot modify readonly property tidyNode::$type
70 Cannot modify readonly property tidyNode::$line
71 Cannot modify readonly property tidyNode::$column
72 Cannot modify readonly property tidyNode::$proprietary
73 Cannot modify readonly property tidyNode::$id
74 Cannot modify readonly property tidyNode::$attribute
75 Cannot modify readonly property tidyNode::$child
/PHP-8.2/Zend/tests/readonly_props/
H A Dreadonly_modification.phpt72 Cannot modify readonly property Test::$prop
73 Cannot modify readonly property Test::$prop
74 Cannot modify readonly property Test::$prop
75 Cannot modify readonly property Test::$prop
76 Cannot modify readonly property Test::$prop
77 Cannot modify readonly property Test::$prop
78 Cannot modify readonly property Test::$prop
81 Cannot modify readonly property Test::$prop2
82 Cannot modify readonly property Test::$prop2
H A Dvariation.phpt96 Init: 1, scope: 1, op: w: Cannot modify readonly property Test::$prop
97 Init: 1, scope: 1, op: rw: Cannot modify readonly property Test::$prop
98 Init: 1, scope: 1, op: im: Cannot modify readonly property Test::$prop
102 Init: 1, scope: 0, op: w: Cannot modify readonly property Test::$prop
103 Init: 1, scope: 0, op: rw: Cannot modify readonly property Test::$prop
104 Init: 1, scope: 0, op: im: Cannot modify readonly property Test::$prop
110 Init: 0, scope: 1, op: im: Cannot indirectly modify readonly property Test::$prop
116 Init: 0, scope: 0, op: im: Cannot indirectly modify readonly property Test::$prop
H A Dcache_slot.phpt93 Cannot modify readonly property Test::$prop
96 Cannot modify readonly property Test::$prop2
97 Cannot modify readonly property Test::$prop2
110 Cannot modify readonly property Test::$prop2
111 Cannot modify readonly property Test::$prop2
/PHP-8.2/Zend/tests/enum/
H A Dno-write-properties-cache-slot.phpt9 public function modify() {
17 Test::A->modify();
26 Cannot modify readonly property Test::$name
H A Dno-write-properties.phpt45 Cannot modify readonly property Foo::$name
47 Cannot modify readonly property IntFoo::$name
48 Cannot modify readonly property IntFoo::$value
/PHP-8.2/ext/standard/tests/general_functions/
H A Dhead.phpt30 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…
/PHP-8.2/ext/random/tests/03_randomizer/
H A Dconstruct_twice.phpt47 Cannot modify readonly property Random\Randomizer::$engine
48 Cannot modify readonly property Random\Randomizer::$engine
49 Cannot modify readonly property Random\Randomizer::$engine
50 Cannot modify readonly property Random\Randomizer::$engine
/PHP-8.2/Zend/tests/
H A Dbug75921.phpt52 Attempt to modify property "a" on null
56 Attempt to modify property "a" on null
60 Attempt to modify property "a" on null
64 Attempt to modify property "a" on null
/PHP-8.2/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-8.2/Zend/tests/type_declarations/variance/
H A Dsuppressed_incompatible_return_type.phpt12 public function modify(string $modifier) {
18 var_dump($date->modify("+1 sec"));

Completed in 18 milliseconds

1234567