Home
last modified time | relevance | path

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

/PHP-7.2/ext/calendar/tests/
H A Dunixtojd_error1.phpt2 Test unixtojd() function : error conditions
13 var_dump(unixtojd(-1)) . PHP_EOL;
14 var_dump(unixtojd(false)) . PHP_EOL;
15 var_dump(unixtojd(null)) . PHP_EOL;
16 var_dump(unixtojd(time())) . PHP_EOL;
17 var_dump(unixtojd(PHP_INT_MAX)) . PHP_EOL;
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-7.2/ext/calendar/
H A Dcal_unix.c29 PHP_FUNCTION(unixtojd) in PHP_FUNCTION() argument
H A Dphp_calendar.h27 PHP_FUNCTION(unixtojd);
H A Dcalendar.c147 PHP_FE(unixtojd, arginfo_unixtojd)

Completed in 13 milliseconds