Skip to content

Commit 6784a1c

Browse files
committed
More functions that return 0|positive-int
1 parent 3f323f9 commit 6784a1c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resources/functionMap.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -11776,10 +11776,10 @@
1177611776
'strftime' => ['string', 'format'=>'string', 'timestamp='=>'int'],
1177711777
'strip_tags' => ['string', 'str'=>'string', 'allowable_tags='=>'string'],
1177811778
'stripcslashes' => ['string', 'str'=>'string'],
11779-
'stripos' => ['int|false', 'haystack'=>'string', 'needle'=>'string|int', 'offset='=>'int'],
11779+
'stripos' => ['0|positive-int|false', 'haystack'=>'string', 'needle'=>'string|int', 'offset='=>'int'],
1178011780
'stripslashes' => ['string', 'str'=>'string'],
1178111781
'stristr' => ['string|false', 'haystack'=>'string', 'needle'=>'mixed', 'before_needle='=>'bool'],
11782-
'strlen' => ['int', 'string'=>'string'],
11782+
'strlen' => ['0|positive-int', 'string'=>'string'],
1178311783
'strnatcasecmp' => ['int', 's1'=>'string', 's2'=>'string'],
1178411784
'strnatcmp' => ['int', 's1'=>'string', 's2'=>'string'],
1178511785
'strncasecmp' => ['int', 'str1'=>'string', 'str2'=>'string', 'len'=>'int'],
@@ -11789,8 +11789,8 @@
1178911789
'strptime' => ['array|false', 'datestr'=>'string', 'format'=>'string'],
1179011790
'strrchr' => ['string|false', 'haystack'=>'string', 'needle'=>'mixed'],
1179111791
'strrev' => ['string', 'str'=>'string'],
11792-
'strripos' => ['int|false', 'haystack'=>'string', 'needle'=>'string|int', 'offset='=>'int'],
11793-
'strrpos' => ['int|false', 'haystack'=>'string', 'needle'=>'string|int', 'offset='=>'int'],
11792+
'strripos' => ['0|positive-int|false', 'haystack'=>'string', 'needle'=>'string|int', 'offset='=>'int'],
11793+
'strrpos' => ['0|positive-int|false', 'haystack'=>'string', 'needle'=>'string|int', 'offset='=>'int'],
1179411794
'strspn' => ['int', 'str'=>'string', 'mask'=>'string', 'start='=>'int', 'len='=>'int'],
1179511795
'strstr' => ['string|false', 'haystack'=>'string', 'needle'=>'mixed', 'before_needle='=>'bool'],
1179611796
'strtok' => ['string|false', 'str'=>'string', 'token'=>'string'],

0 commit comments

Comments
 (0)