php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #66797
Patch fix-66797.patch revision 2014-02-28 19:24 UTC by astewart at online-buddies dot com

Patch fix-66797.patch for mbstring related Bug #66797

Patch version 2014-02-28 19:24 UTC

Return to Bug #66797 | Download this patch
Patch Revisions:

Developer: astewart@online-buddies.com

diff --git ext/mbstring/mbstring.c ext/mbstring/mbstring.c
index 919d1f5a3aed..c69257ef349e 100644
--- ext/mbstring/mbstring.c
+++ ext/mbstring/mbstring.c
@@ -2718,7 +2718,7 @@ PHP_FUNCTION(mb_substr)
 	zval **z_len = NULL;
 	mbfl_string string, result, *ret;
 
-	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|Zs", &str, &str_len, &from, &z_len, &encoding, &encoding_len) == FAILURE) {
+	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sL|Zs", &str, &str_len, &from, &z_len, &encoding, &encoding_len) == FAILURE) {
 		return;
 	}
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 09:01:28 2024 UTC