Re: mbstring unused internal functions
| From: | Christoph M. Becker | Date: | Thu, 24 Jan 2019 11:50:06 +0000 |
| Subject: | Re: mbstring unused internal functions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-103821@lists.php.net to get a copy of this message | ||
On 24.01.2019 at 12:20, Legale Legage wrote:
> Looking through the source code of the mbstring.c file I found a lot
> of unused internal functions. It seems that this is just a bunch of
> old junk.
>
> Examples:
>
> MBSTRING_API size_t php_mb_mbchar_bytes_ex(const char *s, const
> mbfl_encoding *enc)
> MBSTRING_API size_t php_mb_mbchar_bytes(const char *s)
> MBSTRING_API char *php_mb_safe_strrchr(const char *s, unsigned int c,
> size_t nbytes)
> MBSTRING_API char *php_mb_safe_strrchr_ex(const char *s, unsigned int
> c, size_t nbytes, const mbfl_encoding *enc)
MBSTRING_API means that these functions are exported, and are available
for other extensions. As such, they may well be used.
--
Christoph M. Becker