Patch hyper-zon-a for Documentation problem Bug #64205
Patch version 2013-05-23 20:18 UTC
Return to Bug #64205 |
Download this patch
Patch Revisions:
Developer: herman@dwpcons.co.za
diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c
index f43a370..d67863a 100644
--- a/ext/spl/spl_directory.c
+++ b/ext/spl/spl_directory.c
@@ -2286,7 +2286,7 @@ SPL_METHOD(SplFileObject, __construct)
intern->u.file.open_mode = NULL;
intern->u.file.open_mode_len = 0;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|sbr",
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|sbr!",
&intern->file_name, &intern->file_name_len,
&intern->u.file.open_mode, &intern->u.file.open_mode_len,
&use_include_path, &intern->u.file.zcontext) == FAILURE) {
|