3 ms·
Wow, that is terrible. I'm not even talking about the shitty defaults, but look at the code to make it "secure". String-based programming and all of the underly
by revelation 12y ago
Wow, that is terrible. I'm not even talking about the shitty defaults, but look at the code to make it "secure". String-based programming and all of the underlying OpenSSL crap just spills up to the API.
No one should be using that, if only because with the magic strings everywhere it is not guaranteed to blow up when there are breaking changes.
- TazeTSchnitzel 12y ago>String-based programming Are we talking about the same language? This is PHP, not Tcl. >all of the underlying OpenSSL crap just spills up to the API. None of it does. I mean, there's an extension for OpenSSL, but that's not what's 'spilling up'. What's happening is there were poor defaults, so people have to change them. Luckily, PHP 5.6 fixes this. >No one should be using that, if only because with the magic strings everywhere it is not guaranteed to blow up when there are breaking changes. "Magic strings"? Are you seriously trying to compare using string names for keys to specify options (standard practise in many languages) with magic numbers?