Home
last modified time | relevance | path

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

/PHP-8.1/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.
/PHP-8.1/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-8.1/ext/date/
H A Dphp_date_arginfo.h497 ZEND_FUNCTION(date_diff);
580 ZEND_FE(date_diff, arginfo_date_diff)
637 ZEND_ME_MAPPING(diff, date_diff, arginfo_class_DateTime_diff, ZEND_ACC_PUBLIC)
652 ZEND_ME_MAPPING(diff, date_diff, arginfo_class_DateTimeImmutable_diff, ZEND_ACC_PUBLIC)
H A Dphp_date.stub.php101 function date_diff( function
H A Dphp_date.c3434 PHP_FUNCTION(date_diff) in PHP_FUNCTION() argument
/PHP-8.1/
H A DNEWS1658 . Fixed bug #62326 (date_diff() function returns false result). (Derick)
1662 . Fixed bug #68503 (date_diff on two dates with timezone set localised

Completed in 30 milliseconds