php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #64205
Patch hyper-zon-a revision 2013-05-23 20:18 UTC by herman at dwpcons dot co dot za

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) {		
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 14:00:02 2026 UTC