Searched refs:unixtojd (Results 1 – 5 of 5) sorted by relevance
2 Test unixtojd() function : error conditions14 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
2 unixtojd()26 // -whereas unixtojd(1000000000) calls localtime(1000000000)27 // -if omitted from unixtojd.phpt, does NOT output DATE_TZ_ERRMSG29 // unixtojd() calls php_localtime_r() which for Pacific timezone systems, returns a time -8 hours33 echo unixtojd(). "\n";34 echo unixtojd(40000). "\n";35 echo unixtojd(1000000000). "\n";36 echo unixtojd(1152459009). "\n";
27 PHP_FUNCTION(unixtojd) in PHP_FUNCTION() argument
94 ZEND_FUNCTION(unixtojd);114 ZEND_FE(unixtojd, arginfo_unixtojd)
157 function unixtojd(?int $timestamp = null): int|false {} function
Completed in 11 milliseconds