I think it might make more sense to switch the parameter order on the Readable::readLine() interface from $maxLen, $lineTerminator to $lineTerminator, $maxLen because I've found that I rarely care about $maxLen but often find the need to change $lineTerminator. That may be because my use cases are wildly different than my end users though... think about it.
I think it might make more sense to switch the parameter order on the Readable::readLine() interface from $maxLen, $lineTerminator to $lineTerminator, $maxLen because I've found that I rarely care about $maxLen but often find the need to change $lineTerminator. That may be because my use cases are wildly different than my end users though... think about it.