> I suppose I was thinking 'How should one implement for maximum
portability?'
The irony here is that singleton makes portability harder by itself.
This "pattern" be avoided as much as possible especially for external API
between libraries.
I don't see reason to standardize it.
On Monday, Febru
Hi Richard,
Perhaps moving forward we have an opportunity to include more code in our
recommendations, and I think that's likely a good thing. With that said, I
would think with containerization being a big thing in PHP these days,
singletons are going to be a tough sell.
I think something like th