diff options
| author | Andrey Hristov <andrey@php.net> | 2002-09-25 19:06:29 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2002-09-25 19:06:29 +0000 |
| commit | f80a817f7c89a16bf45f2b3a017bacab00789499 (patch) | |
| tree | 4144b5b48df2264bb893117840db19d84bd3e07f /ext/mbstring/php_unicode.c | |
| parent | 21adf62204696fd5418289ce7ae7c3d8fd984ec2 (diff) | |
| download | php-git-f80a817f7c89a16bf45f2b3a017bacab00789499.tar.gz | |
Added common handler for strspn() and strcspn(). Almost of the code is
identical. Modified to accept up to 4 params. Last 2 optional start & len.
They are analogic to start & len of substr(). So the behavior when start &
len are used is like
strspn(substr($s,$start,$len),$good_chars) and
strcspn(substr($s,$start,$len), $bad_chars)
Diffstat (limited to 'ext/mbstring/php_unicode.c')
0 files changed, 0 insertions, 0 deletions
