php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #53630
Patch 53630.diff revision 2010-12-30 05:53 UTC by dave dot tajchreber at gmail dot com

Patch 53630.diff for Readline related Bug #53630

Patch version 2010-12-30 05:53 UTC

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

Developer: dave.tajchreber@gmail.com

Index: ext/readline/readline.c
===================================================================
--- ext/readline/readline.c	(revision 306840)
+++ ext/readline/readline.c	(working copy)
@@ -196,7 +196,7 @@
 	int prompt_len;
 	char *result;
 
-	if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s!", &prompt, &prompt_len)) {
+	if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &prompt, &prompt_len)) {
 		RETURN_FALSE;
 	}
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 17:01:29 2024 UTC