Permalink
Browse files

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

  • Loading branch information...
1 parent f974528 commit f40e5204d4ea3968ce92b62fadc6b5993cec37d8 @bjori bjori committed Sep 30, 2011
Showing with 5 additions and 1 deletion.
  1. +4 −0 NEWS
  2. +1 −1 ext/spl/spl_directory.h
View
4 NEWS
@@ -87,6 +87,10 @@ PHP NEWS
. Fixed bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated
records). (Laruence)
+- SPL:
+ . Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY).
+ (jgotti at modedemploi dot fr, Hannes)
+
23 Aug 2011, PHP 5.3.8
- Core:
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 */

0 comments on commit f40e520

Please sign in to comment.