mirror of
https://github.com/php/php-src.git
synced 2024-12-12 19:33:31 +08:00
Add ftok arginfo stubs
This commit is contained in:
parent
37a8408e83
commit
f1eca42825
@ -1229,14 +1229,6 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_pfsockopen, 0, 0, 1)
|
||||
ZEND_ARG_INFO(0, timeout)
|
||||
ZEND_END_ARG_INFO()
|
||||
/* }}} */
|
||||
/* {{{ ftok.c */
|
||||
#if HAVE_FTOK
|
||||
ZEND_BEGIN_ARG_INFO(arginfo_ftok, 0)
|
||||
ZEND_ARG_INFO(0, pathname)
|
||||
ZEND_ARG_INFO(0, proj)
|
||||
ZEND_END_ARG_INFO()
|
||||
#endif
|
||||
/* }}} */
|
||||
/* {{{ head.c */
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_header, 0, 0, 1)
|
||||
ZEND_ARG_INFO(0, header)
|
||||
|
@ -94,6 +94,12 @@ function crc32(string $str): int {}
|
||||
|
||||
function crypt(string $str, string $salt = UNKNOWN): string {}
|
||||
|
||||
/* ftok.c */
|
||||
|
||||
#if HAVE_FTOK
|
||||
function ftok(string $pathname, string $proj): int {}
|
||||
#endif
|
||||
|
||||
/* hrtime.c */
|
||||
|
||||
/** @return array|int|float|false */
|
||||
|
@ -114,6 +114,13 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_crypt, 0, 1, IS_STRING, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, salt, IS_STRING, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
#if HAVE_FTOK
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ftok, 0, 2, IS_LONG, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, pathname, IS_STRING, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, proj, IS_STRING, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
#endif
|
||||
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user