Searched refs:DateTimeImmutable (Results 51 – 75 of 82) sorted by relevance
1234
/php-src/ext/date/tests/ |
H A D | DateInterval_serialize-003.phpt | 33 $now = new DateTimeImmutable("2022-04-22 16:25:11 BST"); 83 object(DateTimeImmutable)#4 (3) { 91 DateInvalidOperationException: DateTimeImmutable::sub(): Only non-special relative time specificati…
|
H A D | DatePeriod_serialize-001.phpt | 27 object(DateTimeImmutable)#%d (%d) { 72 string(%d) "O:10:"DatePeriod":7:{s:5:"start";O:17:"DateTimeImmutable":3:{s:4:"date";s:26:"2012-07-0… 78 object(DateTimeImmutable)#%d (%d) { 125 object(DateTimeImmutable)#%d (%d) {
|
H A D | DateInterval_serialize-001.phpt | 23 $now = new DateTimeImmutable("2022-04-22 16:25:11 BST"); 108 object(DateTimeImmutable)#4 (3) { 116 object(DateTimeImmutable)#4 (3) {
|
H A D | DateTimeImmutable_createFromInterface-002.phpt | 2 Tests for DateTimeImmutable::createFromInterface inheritance 7 class MyDateTimeImmutable extends DateTimeImmutable {}
|
H A D | gh10747-1.phpt | 2 Bug GH-10747 (Private fields in serialized DateTimeImmutable objects throw) 7 class I extends DateTimeImmutable
|
H A D | date_time_immutable001.phpt | 2 DateTimeImmutable - invalid arguments
|
H A D | bug81106.phpt | 8 echo (new DateTimeImmutable('2000-01-01 00:00:00'))->add($dateInterval)->format('Y-m-d H:i:s.u');
|
H A D | bug71635.phpt | 6 $period = new DatePeriod(new DateTimeImmutable("now"), new DateInterval("P2Y4DT6H8M"), 2);
|
H A D | bug74652.phpt | 19 $dt = new DateTimeImmutable( $format );
|
H A D | date_time_immutable-inherited.phpt | 2 Tests for DateTimeImmutable.
|
H A D | 68062.phpt | 7 $dt = new DateTimeImmutable('2014-09-20', $tz);
|
H A D | bug64887.phpt | 25 $datetime = new DateTimeImmutable( "2016-10-07 13:25:50" );
|
H A D | gh10583.phpt | 10 $dt = new DateTimeImmutable('2015-01-01 00:00:00+00:00');
|
H A D | DateTimePeriod_inherited_serialization.phpt | 20 $d = new MyDatePeriod(new DateTimeImmutable(), new DateInterval("PT5S"), 5, myProperty: true);
|
H A D | gh10747-error.phpt | 2 Bug GH-10747 (Private fields in serialized DateTimeImmutable objects throw) 5 class I extends DateTimeImmutable
|
H A D | bug-gh9106.phpt | 8 $start = new \DateTimeImmutable("2020-01-01 00:00:00 UTC");
|
H A D | bug63740.phpt | 21 $dt = new DateTimeImmutable( "$date 00:00 UTC" );
|
H A D | DateTime_createFromImmutable-001.phpt | 33 TypeError: DateTime::createFromImmutable(): Argument #1 ($object) must be of type DateTimeImmutable…
|
H A D | bug-gh8964-001.phpt | 7 $actual = new DateTimeImmutable("2022-07-21 15:00:10");
|
H A D | gh11455.phpt | 5 class MyDateTimeImmutable extends DateTimeImmutable {
|
H A D | DateTime_createFromImmutable-002.phpt | 35 TypeError: DateTime::createFromImmutable(): Argument #1 ($object) must be of type DateTimeImmutable…
|
/php-src/ext/intl/tests/ |
H A D | dateformat_bug65683_2.phpt | 2 Bug #65683: Intl does not support DateTimeImmutable (using datefmt_format_object)
|
H A D | msgfmt_format_datetime_icu72-1.phpt | 19 $dti = new DateTimeImmutable("2012-05-06 18:00:42", new DateTimeZone("Europe/Lisbon"));
|
H A D | msgfmt_format_datetime.phpt | 19 $dti = new DateTimeImmutable("2012-05-06 18:00:42", new DateTimeZone("Europe/Lisbon"));
|
/php-src/ext/opcache/tests/jit/ |
H A D | gh12585.phpt | 26 $d = new MyDatePeriod(new DateTimeImmutable(), new DateInterval("PT5S"), 5, myProperty: true);
|
Completed in 30 milliseconds
1234