File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -187,8 +187,8 @@ The only caveat is what "string length" means in this context: In the hashtable
187187which do not include the NUL byte in the string length.
188188
189189What does this mean practically? When passing a literal string, the string length will be ``sizeof("foo") `` rather than
190- ``sizeof("foo")-1 ``. When passing a string from a zval, the string length will be ``Z_STRVAL_P (zv)+1 `` rather than
191- ``Z_STRVAL_P (zv) ``.
190+ ``sizeof("foo")-1 ``. When passing a string from a zval, the string length will be ``Z_STRLEN_P (zv)+1 `` rather than
191+ ``Z_STRLEN_P (zv) ``.
192192
193193Apart from this the functions are used in exactly the same way as the index functions::
194194
@@ -742,4 +742,4 @@ The last of the comparison-related function is used for finding the smallest or
742742 );
743743
744744For ``flag=0 `` the minimum value is written into ``pData ``, for ``flag=1 `` the maximum value. If the hashtable is empty
745- the function will return ``FAILURE `` (as min/max are not well-defined for an empty array).
745+ the function will return ``FAILURE `` (as min/max are not well-defined for an empty array).
You can’t perform that action at this time.
0 commit comments