in reply to Re: Plural variable naming (or not?)
in thread Plural variable naming (or not?)
I agree with you on that one, although sometimes I will use a plural scalar if it's a named reference to an array, e.g.
That also helps me to remember that it's not a "normal" scalar, but that it's really referring to something plural.$fields = [1, 2, 3];
|
|---|