* PHP-7.2:
Resolve discrepencies between second value yielded by gettimeofday and time, fixes #69044
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-?? ??? 2019, PHP 7.2.21
+?? ??? ????, PHP 7.3.8
-- XMLRPC:
- . Fixed #78173 (XML-RPC mutates immutable objects during encoding). (Asher
- Baker)
+- Core:
+ . Added syslog.filter=raw option. (Erik Lundin)
-27 Jun 2019, PHP 7.2.20
+ - Date:
+ . Fixed #69044 (discrepency between time and microtime). (krakjoe)
+
+27 Jun 2019, PHP 7.3.7
- Core:
. Fixed bug #76980 (Interface gets skipped if autoloader throws an exception).
Return current UNIX timestamp */
PHP_FUNCTION(time)
{
- RETURN_LONG((zend_long)php_time());
+ if (zend_parse_parameters_none() == FAILURE) {
+ return;
+ }
+
- RETURN_LONG((zend_long)time(NULL));
++ RETURN_LONG((zend_long)php_time(NULL));
}
/* }}} */