On December 12, 2003 02:02 pm, Rasmus Lerdorf wrote: > I agree that it would be a good idea to provide a mechanism to do that, > but at this point I don't think we should be changing the behaviour of > fgetcsv() in neither the stable branch nor the HEAD branch. I'd add a new > binary-safe version of the function instead for this. Or an optional arg, > but fgetcsv() already has 2 optional args.
I think we could add another optional argument (bitmask) that could be used to control various capabilities of fgetcsv(). So, if another tuneable behavior is necessary it could be easily added without breaking BC. On a related note I should mention that fgetcsv() in 4.3.X is currently 2.5 times faster then it's equivalent in 5.X. Ilia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php