Home
last modified time | relevance | path

Searched refs:DateTimeImmutable (Results 51 – 75 of 82) sorted by relevance

1234

/php-src/ext/date/tests/
H A DDateInterval_serialize-003.phpt33 $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 DDatePeriod_serialize-001.phpt27 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 DDateInterval_serialize-001.phpt23 $now = new DateTimeImmutable("2022-04-22 16:25:11 BST");
108 object(DateTimeImmutable)#4 (3) {
116 object(DateTimeImmutable)#4 (3) {
H A DDateTimeImmutable_createFromInterface-002.phpt2 Tests for DateTimeImmutable::createFromInterface inheritance
7 class MyDateTimeImmutable extends DateTimeImmutable {}
H A Dgh10747-1.phpt2 Bug GH-10747 (Private fields in serialized DateTimeImmutable objects throw)
7 class I extends DateTimeImmutable
H A Ddate_time_immutable001.phpt2 DateTimeImmutable - invalid arguments
H A Dbug81106.phpt8 echo (new DateTimeImmutable('2000-01-01 00:00:00'))->add($dateInterval)->format('Y-m-d H:i:s.u');
H A Dbug71635.phpt6 $period = new DatePeriod(new DateTimeImmutable("now"), new DateInterval("P2Y4DT6H8M"), 2);
H A Dbug74652.phpt19 $dt = new DateTimeImmutable( $format );
H A Ddate_time_immutable-inherited.phpt2 Tests for DateTimeImmutable.
H A D68062.phpt7 $dt = new DateTimeImmutable('2014-09-20', $tz);
H A Dbug64887.phpt25 $datetime = new DateTimeImmutable( "2016-10-07 13:25:50" );
H A Dgh10583.phpt10 $dt = new DateTimeImmutable('2015-01-01 00:00:00+00:00');
H A DDateTimePeriod_inherited_serialization.phpt20 $d = new MyDatePeriod(new DateTimeImmutable(), new DateInterval("PT5S"), 5, myProperty: true);
H A Dgh10747-error.phpt2 Bug GH-10747 (Private fields in serialized DateTimeImmutable objects throw)
5 class I extends DateTimeImmutable
H A Dbug-gh9106.phpt8 $start = new \DateTimeImmutable("2020-01-01 00:00:00 UTC");
H A Dbug63740.phpt21 $dt = new DateTimeImmutable( "$date 00:00 UTC" );
H A DDateTime_createFromImmutable-001.phpt33 TypeError: DateTime::createFromImmutable(): Argument #1 ($object) must be of type DateTimeImmutable
H A Dbug-gh8964-001.phpt7 $actual = new DateTimeImmutable("2022-07-21 15:00:10");
H A Dgh11455.phpt5 class MyDateTimeImmutable extends DateTimeImmutable {
H A DDateTime_createFromImmutable-002.phpt35 TypeError: DateTime::createFromImmutable(): Argument #1 ($object) must be of type DateTimeImmutable
/php-src/ext/intl/tests/
H A Ddateformat_bug65683_2.phpt2 Bug #65683: Intl does not support DateTimeImmutable (using datefmt_format_object)
H A Dmsgfmt_format_datetime_icu72-1.phpt19 $dti = new DateTimeImmutable("2012-05-06 18:00:42", new DateTimeZone("Europe/Lisbon"));
H A Dmsgfmt_format_datetime.phpt19 $dti = new DateTimeImmutable("2012-05-06 18:00:42", new DateTimeZone("Europe/Lisbon"));
/php-src/ext/opcache/tests/jit/
H A Dgh12585.phpt26 $d = new MyDatePeriod(new DateTimeImmutable(), new DateInterval("PT5S"), 5, myProperty: true);

Completed in 30 milliseconds

1234