Home
last modified time | relevance | path

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

12345678

/php-src/ext/date/tests/
H A DDatePeriod_properties2.phpt2 DatePeriod: Test cannot modify read only properties
34 $period->start->modify("+1 hour");
41 Error: Cannot modify readonly property DatePeriod::$recurrences
45 Error: Cannot modify readonly property DatePeriod::$start
46 Error: Cannot modify readonly property DatePeriod::$start
47 Error: Cannot modify readonly property DatePeriod::$current
48 Error: Cannot modify readonly property DatePeriod::$current
49 Error: Cannot modify readonly property DatePeriod::$end
50 Error: Cannot modify readonly property DatePeriod::$end
51 Error: 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" );
17 $date->modify( "£61538461538 day" );
26 DateMalformedStringException: DateTime::modify(): Failed to parse time string (£61538461538 day) at…
H A DDateTimeImmutable_modify_invalid_format.phpt2 DateTimeImmutable::modify() with invalid format
8 var_dump($datetime->modify(''));
15 DateMalformedStringException: DateTimeImmutable::modify(): Failed to parse time string () at positi…
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 DDateTime_modify_invalid_format.phpt2 DateTime::modify() with empty string as format
9 var_dump($datetime->modify(''));
18 DateMalformedStringException: DateTime::modify(): Failed to parse time string () at position 0 ( ):…
H A DDatePeriod_modify_readonly_property.phpt2 DatePeriod modify readonly property
24 Error: Cannot modify readonly property DatePeriod::$interval
25 Error: Cannot modify readonly property DatePeriod::$interval
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');
/php-src/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-src/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-src/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 indirectly modify readonly property Test::$prop
77 Cannot indirectly modify readonly property Test::$prop
78 Cannot indirectly modify readonly property Test::$prop
81 Cannot indirectly modify readonly property Test::$prop2
82 Cannot indirectly modify readonly property Test::$prop2
H A Dvariation.phpt108 Init: 1, scope: 1, op: w: Cannot modify readonly property Test::$prop
109 Init: 1, scope: 1, op: rw: Cannot modify readonly property Test::$prop
110 Init: 1, scope: 1, op: im: Cannot indirectly modify readonly property Test::$prop
113 Init: 1, scope: 1, op: us_dim: Cannot indirectly modify readonly property Test::$array
115 Init: 1, scope: 0, op: w: Cannot modify readonly property Test::$prop
116 Init: 1, scope: 0, op: rw: Cannot modify readonly property Test::$prop
117 Init: 1, scope: 0, op: im: Cannot indirectly modify readonly property Test::$prop
120 Init: 1, scope: 0, op: us_dim: Cannot indirectly modify readonly property Test::$array
124 Init: 0, scope: 1, op: im: Cannot indirectly modify readonly property Test::$prop
129 Init: 0, scope: 0, op: w: Cannot modify protected(set) readonly property Test::$prop from global sc…
[all …]
H A Dreadonly_clone_error7.phpt2 __clone() cannot indirectly modify unlocked readonly properties
32 Cannot indirectly modify readonly property Foo::$bar
33 Cannot indirectly modify readonly property Foo::$bar
H A Dreadonly_clone_error5.phpt61 Cannot indirectly modify readonly property TestSetOnce::$prop
62 Cannot indirectly modify readonly property TestSetOnce::$prop
63 Cannot indirectly modify readonly property TestSetTwice::$prop
64 Cannot indirectly modify readonly property TestSetTwice::$prop
/php-src/ext/dom/tests/
H A Dproperty_write_errors.phpt52 Cannot modify readonly property DOMDocument::$nodeType
53 Cannot modify readonly property DOMDocument::$xmlEncoding
54 Cannot modify readonly property DOMEntity::$actualEncoding
55 Cannot modify readonly property DOMEntity::$encoding
56 Cannot modify readonly property DOMEntity::$version
/php-src/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-src/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-src/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-src/Zend/tests/asymmetric_visibility/
H A Dreadonly.phpt59 Cannot modify private(set) property P::$pPrivate from scope C
60 Cannot modify protected(set) readonly property P::$pDefault from global scope
61 Cannot modify private(set) property P::$pPrivate from global scope
62 Cannot modify protected(set) readonly property P::$pProtected from global scope
/php-src/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

Completed in 34 milliseconds

12345678