From 63346f4c4bf4ef5d33771d6d96f746a8516e0bcc Mon Sep 17 00:00:00 2001 From: Francois Laupretre Date: Wed, 7 Jan 2015 12:59:44 +0100 Subject: [PATCH] Fix README.PARAMETER_PARSING_API --- README.PARAMETER_PARSING_API | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.PARAMETER_PARSING_API b/README.PARAMETER_PARSING_API index 46e190efc179..2d1f1c522bae 100644 --- a/README.PARAMETER_PARSING_API +++ b/README.PARAMETER_PARSING_API @@ -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: