Hacker News new | past | comments | ask | show | jobs | submit login

I meant semantically, not literally. PHP has a class based object model that is basically copied from Java. One of the more absurd results of this transplantation is that in PHP, classes can implement static interfaces. This is useful in Java, to imbue some flexibility into the otherwise very rigid static typing, but in PHP it's utterly backwards.

As an aside, PHP gets compiled into opcode before interpretation, but the two processes are usually not separated. This is true for most interpreted languages actually.




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

Search: