PHP's most serious generics proposal yet got voted down 7-19 — here's what it would have looked like
The Bound-Erased Generic Types RFC had a working implementation and a real syntax proposal, and it still failed its primary vote by a wide margin. I read the RFC to see what PHP generics would have looked like, why it lost, and whether PHPDoc templates are actually fine in the meantime.