Skip to content

Commit

Permalink
Fix README.PARAMETER_PARSING_API
Browse files Browse the repository at this point in the history
  • Loading branch information
flaupretre authored and Julien Pauli committed Jan 9, 2015
1 parent b99dd1e commit 63346f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.PARAMETER_PARSING_API
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Note on 64bit compatibility
---------------------------
Please note that since version 7 PHP uses zend_long as integer type and
zend_string with size_t as length, so make sure you pass zend_longs to "l"
and size_t to strings length (i.e. for "s" you need to pass char * and int),
and size_t to strings length (i.e. for "s" you need to pass char * and size_t),
not the other way round!

Both mistakes might cause memory corruptions and segfaults:
Expand Down

0 comments on commit 63346f4

Please sign in to comment.