|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2011-09-29 13:53 UTC] colder@php.net
 
-Assigned To:
+Assigned To: colder
  [2011-09-30 14:17 UTC] bjori@php.net
  [2011-09-30 14:17 UTC] bjori@php.net
  [2011-09-30 14:17 UTC] bjori@php.net
 
-Status: Assigned
+Status: Closed
  [2011-09-30 14:17 UTC] bjori@php.net
  [2012-02-09 20:31 UTC] rasmus@php.net
 
-Status: Closed
+Status: Re-Opened
-Type:   Feature/Change Request
+Type:   Bug
  [2012-02-09 20:31 UTC] rasmus@php.net
  [2012-04-18 09:48 UTC] laruence@php.net
  [2012-07-24 23:39 UTC] rasmus@php.net
  [2013-11-17 09:36 UTC] laruence@php.net
  [2013-11-17 09:36 UTC] laruence@php.net
 
-Status: Re-Opened
+Status: Closed
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 19:00:02 2025 UTC | 
Description: ------------ isn't this weird that splFileObject::SKIP_EMPTY=6. I think this should be 4 and not 6 as setting splFileObject flag to SKIP_EMPTY will report flag splFileObject::READ_AHEAD to be set even if not intended to be set Test script: --------------- $fileObj = new SplFileObject('/tmp/test.txt'); $fileObj->setFlags(SplFileObject::SKIP_EMPTY); if( $fileObj->getFlags() & SplFileObject::READ_AHEAD ){//<-- should not pass here we didn't set READ_AHEAD flag echo "READ_AHEAD on"; }