com php-src: Add lcg arginfo stubs: ext/standard/basic_functi ons.c ext/standard/basic_functions.stub.php ext/sta ndard/basic_functions_arginfo.h

From: Date: Fri, 16 Aug 2019 10:56:07 +0000
Subject: com php-src: Add lcg arginfo stubs: ext/standard/basic_functi ons.c ext/standard/basic_functions.stub.php ext/sta ndard/basic_functions_arginfo.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-107942@lists.php.net to get a copy of this message
Commit: f795bdfd30673de29908103abb0439a4af36988e Author: inem0o <cuneaz.leo@gmail.com> Fri, 16 Aug 2019 12:02:03 +0200 Committer: Christoph M. Becker <cmbecker69@gmx.de> Fri, 16 Aug 2019 12:56:07 +0200 Parents: f1eca42825eca314f8d3f6991d7cb3f3b634d4a8 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f795bdfd30673de29908103abb0439a4af36988e Log: Add lcg arginfo stubs Changed paths: M ext/standard/basic_functions.c M ext/standard/basic_functions.stub.php M ext/standard/basic_functions_arginfo.h Diff: diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 002adfb..3b2f579 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1365,12 +1365,6 @@ ZEND_BEGIN_ARG_INFO(arginfo_iptcparse, 0) ZEND_ARG_INFO(0, iptcdata) ZEND_END_ARG_INFO() /* }}} */ - -/* {{{ lcg.c */ -ZEND_BEGIN_ARG_INFO(arginfo_lcg_value, 0) -ZEND_END_ARG_INFO() -/* }}} */ - /* {{{ levenshtein.c */ ZEND_BEGIN_ARG_INFO_EX(arginfo_levenshtein, 0, 0, 2) ZEND_ARG_INFO(0, str1) diff --git a/ext/standard/basic_functions..stub.php b/ext/standard/basic_functions.stub.php index 698cb98..9cd3cb5 100644 --- a/ext/standard/basic_functions.stub.php +++ b/ext/standard/basic_functions.stub.php @@ -105,6 +105,10 @@ function ftok(string $pathname, string $proj): int {} /** @return array|int|float|false */ function hrtime(bool $get_as_number = false) {} +/* lcg.c */ + +function lcg_value(): float {} + /* syslog.c */ #ifdef HAVE_SYSLOG_H diff --git a/ext/standard/basic_functions_arginfo.h b/ext/standard/basic_functions_arginfo.h index 7f22005..fdef11b 100644 --- a/ext/standard/basic_functions_arginfo.h +++ b/ext/standard/basic_functions_arginfo.h @@ -125,6 +125,9 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_hrtime, 0, 0, 0) ZEND_ARG_TYPE_INFO(0, get_as_number, _IS_BOOL, 0) ZEND_END_ARG_INFO() +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_lcg_value, 0, 0, IS_DOUBLE, 0) +ZEND_END_ARG_INFO() + #if defined(HAVE_SYSLOG_H) ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_openlog, 0, 3, _IS_BOOL, 0) ZEND_ARG_TYPE_INFO(0, ident, IS_STRING, 0)

« previous php.cvs (#107942) next »