4 ms·
10 years ago PHP didn't have classes
by aussieguy1234 8y ago
10 years ago PHP didn't have classes
- cpburns2009 8y agoPHP 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 http://php.net/manual/en/language.oop5.php#46290
- rpeden 8y agoSure it did. Classes in PHP showed up in version 4.0 18 years ago.