Searched refs:date_diff (Results 1 – 12 of 12) sorted by relevance
/php-src/ext/date/tests/ |
H A D | bug68503.phpt | 2 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 D | bug62326.phpt | 2 Bug #62326 (date_diff() function returns false result) 9 $difference = date_diff($start_timestamp, $end_timestamp);
|
H A D | date_diff.phpt | 2 Extensive test for date_diff(). 25 $diff = date_diff( $dates[$i], $dates[$j] );
|
H A D | bug45682.phpt | 11 $diff = date_diff($date, $other);
|
H A D | bug71700.phpt | 10 $diff = date_diff($date1, $date2, true);
|
H A D | date_diff1.phpt | 2 Test for date_diff with timezone abbreviations.
|
H A D | DateTimeImmutable_uninitialised_exceptions.phpt | 47 check(fn() => date_diff($dt, $mdti)); 48 check(fn() => date_diff($mdti, $dt)); 49 check(fn() => date_diff($mdti, $mdti));
|
H A D | DateTime_uninitialised_exceptions.phpt | 53 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 D | bug65768.phpt | 2 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 D | php_date.stub.php | 200 function date_diff( function
|
H A D | php_date_arginfo.h | 545 ZEND_FUNCTION(date_diff); 646 ZEND_FE(date_diff, arginfo_date_diff)
|
H A D | php_date.c | 3952 PHP_FUNCTION(date_diff) in PHP_FUNCTION() argument
|
Completed in 40 milliseconds