File tree 1 file changed +3
-3
lines changed
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
187
187
which do not include the NUL byte in the string length.
188
188
189
189
What 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) ``.
192
192
193
193
Apart from this the functions are used in exactly the same way as the index functions::
194
194
@@ -742,4 +742,4 @@ The last of the comparison-related function is used for finding the smallest or
742
742
);
743
743
744
744
For ``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