Home
last modified time | relevance | path

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

/PHP-8.2/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.2/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.2/ext/date/
H A Dphp_date_arginfo.h523 ZEND_FUNCTION(date_diff);
616 ZEND_FE(date_diff, arginfo_date_diff)
677 ZEND_ME_MAPPING(diff, date_diff, arginfo_class_DateTime_diff, ZEND_ACC_PUBLIC)
694 ZEND_ME_MAPPING(diff, date_diff, arginfo_class_DateTimeImmutable_diff, ZEND_ACC_PUBLIC)
H A Dphp_date.stub.php197 function date_diff( function
H A Dphp_date.c3685 PHP_FUNCTION(date_diff) in PHP_FUNCTION() argument

Completed in 62 milliseconds