Re:Ask HN: What's the largest amount of bad code you have ev...
by cpburns2009 on Wednesday November 14, 2018 @10:42AM
(#18450673)
PHP 5 was released 14 years ago in July, 2004. One of its new features was OOP. Classes were supported at that time. In fact, a comment from 14 years ago shows an example class [1].
[1]: http://php.net/manual/en/language.oop5.php#46290