mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
Fix README.PARAMETER_PARSING_API
This commit is contained in:
parent
b99dd1e895
commit
63346f4c4b
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ Note on 64bit compatibility
|
||||||
---------------------------
|
---------------------------
|
||||||
Please note that since version 7 PHP uses zend_long as integer type and
|
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"
|
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!
|
not the other way round!
|
||||||
|
|
||||||
Both mistakes might cause memory corruptions and segfaults:
|
Both mistakes might cause memory corruptions and segfaults:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue