Searched refs:DateTimeImmutable (Results 51 – 75 of 82) sorted by last modified time
1234
/php-src/ext/date/tests/ |
H A D | bug78751.phpt | 2 Bug #78751 (Serialising DatePeriod converts DateTimeImmutable) 5 $oDay = new DateTimeImmutable('2019-10-25'); 10 $oDays->start instanceof DateTimeImmutable, 11 $oDays->end instanceof DateTimeImmutable
|
H A D | bug79716.phpt | 5 $datetime = new \DateTimeImmutable( 14 object(DateTimeImmutable)#%d (%d) {
|
H A D | bug80047.phpt | 2 Bug #80047: DatePeriod doesn't support custom DateTimeImmutable 8 class CustomDateTimeImmutable extends DateTimeImmutable {} 11 $dti = new DateTimeImmutable('2022-06-24'); 36 DateTimeImmutable 37 DateTimeImmutable 38 DateTimeImmutable 39 DateTimeImmutable
|
H A D | bug80057.phpt | 2 Bug #80057 (DateTimeImmutable::createFromFormat() does not populate time) 5 $now = new DateTimeImmutable; 6 $parsed = DateTimeImmutable::createFromFormat('Y-m-d', '2020-09-04');
|
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 | date_period-immutable.phpt | 6 $db1 = new DateTimeImmutable( '2008-01-01' ); 28 DateTimeImmutable 33 DateTimeImmutable 38 DateTimeImmutable
|
H A D | date_time_fractions.phpt | 15 $dt = new DateTimeImmutable( "2016-10-03 12:47:18.819210" ); 18 $dt = new DateTimeImmutable( "2016-10-03 12:47:18.081921" ); 24 $dt = new DateTimeImmutable( "2016-10-03 12:47:18.081921" ); 27 $dt = new DateTimeImmutable( "2016-10-03 12:47:18.081921" ); 30 $dt = new DateTimeImmutable( "2016-10-03 12:47:18.081921" ); 35 $dt1 = new DateTimeImmutable( "2016-10-03 13:20:07.103123" ); 36 $dt2 = new DateTimeImmutable( "2016-10-03 13:20:07.481312" );
|
H A D | date_time_immutable-inherited.phpt | 2 Tests for DateTimeImmutable.
|
H A D | date_time_immutable.phpt | 2 Tests for DateTimeImmutable. 56 $v = new DateTimeImmutable($current);
|
H A D | date_time_immutable001.phpt | 2 DateTimeImmutable - invalid arguments
|
H A D | bug60302-002.phpt | 2 Test for bug #60302: DateTimeImmutable::createFromFormat should new static(), not new self() 6 class MyDateTime extends DateTimeImmutable { }
|
H A D | bug63740.phpt | 21 $dt = new DateTimeImmutable( "$date 00:00 UTC" );
|
H A D | bug64887.phpt | 25 $datetime = new DateTimeImmutable( "2016-10-07 13:25:50" );
|
H A D | bug65502.phpt | 2 Test for bug #65502: DateTimeImmutable::createFromFormat returns DateTime 9 echo get_class(DateTimeImmutable::createFromFormat('j-M-Y', '12-Sep-2013')); 12 DateTimeImmutable
|
H A D | bug65548.phpt | 2 Test for bug #65548: Comparison for DateTimeImmutable doesn't work 9 $iToday = new DateTimeImmutable('today'); 10 $iTomorrow = new DateTimeImmutable('tomorrow');
|
H A D | bug68669.phpt | 8 var_dump(DateTimeImmutable::createFromFormat('Y/m/d H:i:s', '1995/06/08 12:34:56', null)); 19 object(DateTimeImmutable)#1 (3) {
|
H A D | bug71635.phpt | 6 $period = new DatePeriod(new DateTimeImmutable("now"), new DateInterval("P2Y4DT6H8M"), 2);
|
H A D | bug72719.phpt | 5 echo (new DateTimeImmutable('Monday next week 13:00'))->format('l'), "\n"; 6 echo (new DateTimeImmutable('Tuesday next week 14:00'))->format('l'), "\n"; 7 echo (new DateTimeImmutable('Wednesday next week 14:00'))->format('l'), "\n"; 8 echo (new DateTimeImmutable('Thursday next week 15:00'))->format('l'), "\n"; 9 echo (new DateTimeImmutable('Friday next week 16:00'))->format('l'), "\n"; 10 echo (new DateTimeImmutable('Saturday next week 17:00'))->format('l'), "\n"; 11 echo (new DateTimeImmutable('Sunday next week 18:00'))->format('l'), "\n";
|
H A D | bug72963.phpt | 23 $d2 = DateTimeImmutable::createFromFormat('!m/d/Y', $string); 48 object(DateTimeImmutable)#2 (3) { 88 DateTimeImmutable::createFromFormat(): Argument #2 ($datetime) must not contain any null bytes
|
H A D | bug74173.phpt | 2 Bug #74173 (DateTimeImmutable::getTimestamp() triggers DST switch in incorrect time) 5 $utc = new \DateTimeImmutable('2016-10-30T00:00:00+00:0');
|
H A D | bug74652.phpt | 19 $dt = new DateTimeImmutable( $format );
|
H A D | bug-gh8964-001.phpt | 7 $actual = new DateTimeImmutable("2022-07-21 15:00:10");
|
H A D | bug-gh8964-002.phpt | 9 $actual = new DateTimeImmutable("2022-07-21 15:00:10");
|
H A D | bug-gh9106.phpt | 8 $start = new \DateTimeImmutable("2020-01-01 00:00:00 UTC");
|
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) {
|
Completed in 43 milliseconds
1234