Home
last modified time | relevance | path

Searched refs:unixtojd (Results 1 – 5 of 5) sorted by relevance

/PHP-8.2/ext/calendar/tests/
H A Dunixtojd_error1.phpt2 Test unixtojd() function : error conditions
14 unixtojd(-1);
18 var_dump(unixtojd(false)) . PHP_EOL;
19 var_dump(unixtojd(null)) . PHP_EOL;
20 var_dump(unixtojd(time())) . PHP_EOL;
23 unixtojd(): Argument #1 ($timestamp) must be greater than or equal to 0
H A Dunixtojd.phpt2 unixtojd()
26 // -whereas unixtojd(1000000000) calls localtime(1000000000)
27 // -if omitted from unixtojd.phpt, does NOT output DATE_TZ_ERRMSG
29 // unixtojd() calls php_localtime_r() which for Pacific timezone systems, returns a time -8 hours
33 echo unixtojd(). "\n";
34 echo unixtojd(40000). "\n";
35 echo unixtojd(1000000000). "\n";
36 echo unixtojd(1152459009). "\n";
/PHP-8.2/ext/calendar/
H A Dcal_unix.c27 PHP_FUNCTION(unixtojd) in PHP_FUNCTION() argument
H A Dcalendar_arginfo.h95 ZEND_FUNCTION(unixtojd);
116 ZEND_FE(unixtojd, arginfo_unixtojd)
H A Dcalendar.stub.php157 function unixtojd(?int $timestamp = null): int|false {} function

Completed in 25 milliseconds