mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
iconv_strlen() cannot return a string
This commit is contained in:
parent
27e83d0fb8
commit
dccd137e1a
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
function iconv_strlen(string $str, string $charset = UNKNOWN): string|int|false {}
|
||||
function iconv_strlen(string $str, string $charset = UNKNOWN): int|false {}
|
||||
|
||||
function iconv_substr(string $str, int $offset, ?int $length = null, string $charset = UNKNOWN): string|false {}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* This is a generated file, edit the .stub.php file instead. */
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_iconv_strlen, 0, 1, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_FALSE)
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_iconv_strlen, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
|
||||
ZEND_ARG_TYPE_INFO(0, str, IS_STRING, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, charset, IS_STRING, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue