Home
last modified time | relevance | path

Searched refs:date_diff (Results 1 – 12 of 12) sorted by relevance

/php-src/ext/date/tests/
H A Dbug68503.phpt2 Bug #68503 (date_diff on two dates with timezone set localised returns wrong results)
6 echo date_diff(new DateTime("2015-02-01"), new DateTime("2015-05-01"))->format( '%yY %mM %dD' ), "\…
8 echo date_diff(new DateTime("2015-02-01"), new DateTime("2015-05-01"))->format( '%yY %mM %dD' ), "\…
H A Dbug62326.phpt2 Bug #62326 (date_diff() function returns false result)
9 $difference = date_diff($start_timestamp, $end_timestamp);
H A Ddate_diff.phpt2 Extensive test for date_diff().
25 $diff = date_diff( $dates[$i], $dates[$j] );
H A Dbug45682.phpt11 $diff = date_diff($date, $other);
H A Dbug71700.phpt10 $diff = date_diff($date1, $date2, true);
H A Ddate_diff1.phpt2 Test for date_diff with timezone abbreviations.
H A DDateTimeImmutable_uninitialised_exceptions.phpt47 check(fn() => date_diff($dt, $mdti));
48 check(fn() => date_diff($mdti, $dt));
49 check(fn() => date_diff($mdti, $mdti));
H A DDateTime_uninitialised_exceptions.phpt53 check(fn() => date_diff($dt, $mdt));
54 check(fn() => date_diff($mdt, $dt));
55 check(fn() => date_diff($mdt, $mdt));
/php-src/tests/classes/
H A Dbug65768.phpt2 Bug #65768: date_diff accepts only DateTime instance even though docs say about DateTimeInterface
20 $diff3 = date_diff($dt1, $dti2);
/php-src/ext/date/
H A Dphp_date.stub.php197 function date_diff( function
H A Dphp_date_arginfo.h545 ZEND_FUNCTION(date_diff);
646 ZEND_FE(date_diff, arginfo_date_diff)
H A Dphp_date.c3966 PHP_FUNCTION(date_diff) in PHP_FUNCTION() argument

Completed in 36 milliseconds