Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

10 years ago PHP didn't have classes


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


Sure it did. Classes in PHP showed up in version 4.0 18 years ago.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: