/PHP-8.4/ext/date/tests/ |
H A D | DatePeriod_properties2.phpt | 2 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 D | DateTime_modify_basic1.phpt | 2 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 D | bug45866.phpt | 2 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 D | DateTimeImmutable_modify_invalid_format.phpt | 2 DateTimeImmutable::modify() with invalid format 8 var_dump($datetime->modify('')); 15 DateMalformedStringException: DateTimeImmutable::modify(): Failed to parse time string () at positi…
|
H A D | gh10583.phpt | 2 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 D | DatePeriod_modify_readonly_property.phpt | 2 DatePeriod modify readonly property 24 Error: Cannot modify readonly property DatePeriod::$interval 25 Error: Cannot modify readonly property DatePeriod::$interval
|
H A D | DateTime_modify_invalid_format.phpt | 2 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 D | bug68078_negative.phpt | 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');
|
H A D | bug46268.phpt | 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");
|
H A D | gh9891.phpt | 2 Bug GH-9891 (DateTime modify with unixtimestamp (@) must work like setTimestamp) 6 $m->modify('@1234567890'); 17 $a->modify('@' . $a->getTimestamp());
|
H A D | bug41844.phpt | 8 $date->modify('-3006 years'); 12 $date->modify('-2008 years');
|
H A D | bug73942.phpt | 2 Bug #73942: $date->modify('Friday this week') doesn't return a Friday if $date is a Sunday 7 $date->modify('Friday this week');
|
/PHP-8.4/ext/spl/tests/ |
H A D | array_008.phpt | 12 $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.4/ext/tidy/tests/ |
H A D | 036.phpt | 67 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.4/Zend/tests/readonly_props/ |
H A D | readonly_modification.phpt | 72 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 D | variation.phpt | 108 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 D | readonly_clone_error7.phpt | 2 __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 D | readonly_clone_error5.phpt | 61 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-8.4/ext/dom/tests/ |
H A D | property_write_errors.phpt | 52 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-8.4/Zend/tests/enum/ |
H A D | no-write-properties-cache-slot.phpt | 9 public function modify() { 17 Test::A->modify(); 26 Cannot modify readonly property Test::$name
|
H A D | no-write-properties.phpt | 45 Cannot modify readonly property Foo::$name 47 Cannot modify readonly property IntFoo::$name 48 Cannot modify readonly property IntFoo::$value
|
/PHP-8.4/ext/standard/tests/general_functions/ |
H A D | head.phpt | 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…
|
/PHP-8.4/ext/random/tests/03_randomizer/ |
H A D | construct_twice.phpt | 47 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.4/Zend/tests/asymmetric_visibility/ |
H A D | readonly.phpt | 59 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-8.4/Zend/tests/ |
H A D | bug75921.phpt | 52 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
|