Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY)

  • Loading branch information...
commit 5fba3ba7c300e047d0b387e6d54024025a17b1c5 1 parent 3dabada
Hannes Magnusson bjori authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  NEWS
  2. +1 −1  ext/spl/spl_directory.h
2  NEWS
View
@@ -20,6 +20,8 @@ PHP NEWS
- SPL:
. FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator now use
the default stream context. (Hannes)
+ . Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY).
+ (jgotti at modedemploi dot fr, Hannes)
- CLI SAPI:
. Fixed bug #55726 (Changing the working directory makes router script
2  ext/spl/spl_directory.h
View
@@ -117,7 +117,7 @@ static inline spl_filesystem_object* spl_filesystem_iterator_to_object(spl_files
#define SPL_FILE_OBJECT_DROP_NEW_LINE 0x00000001 /* drop new lines */
#define SPL_FILE_OBJECT_READ_AHEAD 0x00000002 /* read on rewind/next */
-#define SPL_FILE_OBJECT_SKIP_EMPTY 0x00000006 /* skip empty lines */
+#define SPL_FILE_OBJECT_SKIP_EMPTY 0x00000004 /* skip empty lines */
#define SPL_FILE_OBJECT_READ_CSV 0x00000008 /* read via fgetcsv */
#define SPL_FILE_OBJECT_MASK 0x0000000F /* read via fgetcsv */
Please sign in to comment.
Something went wrong with that request. Please try again.