diff options
-rw-r--r-- | ext/imap/php_imap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 61df580469..fd0ddbce2e 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -2131,7 +2131,9 @@ PHP_FUNCTION(imap_utf7_decode) ZEND_WRONG_PARAM_COUNT(); } - convert_to_writable_string_ex(arg); /* Is this string really modified? */ + convert_to_string_ex(arg); /* Is this string really modified? + If it is use and you don't want it to be seen outside of the function + then use zend_get_parameters() */ in = (const unsigned char *) Z_STRVAL_PP(arg); inlen = Z_STRLEN_PP(arg); |