> > >> Hi Peter, > >> > >> It's not really a "made-up string format", in the sense that it has a > >> precedent (PDO). > >> > > > > True, and that format sucks royally. It trips people up. > > > > Combining several arguments into one string is bad design. If it was good > > design, you'd see userland code using it all over the place. > > >
I will fully agree that PDO's constructor format is terrible. Not only does it lead to confusion but it thwarts any IDE's attempt to help the dev fill the constructor arguments. I'm in favor of a format more like `new \Namespace\Class(null, 'AES-256', 'GCM');` As far as the rest of the discussion goes, I am +1.