Searched refs:modify (Results 1 – 25 of 147) sorted by relevance
123456
/PHP-8.1/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.1/ext/date/tests/ |
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" ); 16 $date->modify( "£61538461538 day" ); 23 Warning: DateTime::modify(): Failed to parse time string (£61538461538 day) at position 0 (%s): Une…
|
H A D | DateTimeImmutable_modify_invalid_format.phpt | 2 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 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 | 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 | date_time_fractions.phpt | 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";
|
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');
|
H A D | date_modify-1.phpt | 8 $ts->modify("+1 second"); 14 $ts->modify("+1 second"); 19 $ts->modify("+ 1 hour 1 second");
|
H A D | bug-gh11368.phpt | 2 Bug GH-11368: Date modify returns invalid datetime 13 $datetime->modify('-100 ms');
|
/PHP-8.1/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 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 D | variation.phpt | 96 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 D | cache_slot.phpt | 93 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
|
H A D | readonly_containing_object.phpt | 35 // Unfortunately this is allowed, but does not modify $test->prop. 48 Cannot modify readonly property Test::$prop 49 Cannot modify readonly property Test::$prop
|
H A D | array_append_initialization.phpt | 36 Cannot indirectly modify readonly property C::$a 37 Cannot indirectly modify readonly property C::$a
|
/PHP-8.1/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.1/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.1/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
|
/PHP-8.1/tests/classes/ |
H A D | constants_error_006.phpt | 2 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.1/Zend/tests/type_declarations/variance/ |
H A D | suppressed_incompatible_return_type.phpt | 12 public function modify(string $modifier) { 18 var_dump($date->modify("+1 sec"));
|
/PHP-8.1/ext/ftp/tests/ |
H A D | ftp_mlsd.phpt | 32 ["modify"]=> 51 ["modify"]=> 70 ["modify"]=>
|
Completed in 28 milliseconds
123456