3 ms·
PHP was a C front end at first...
by hevi_jos 7y ago
PHP was a C front end at first...
- javagram 7y agoEdited: you might be thinking of C++ ? I don’t think php ever compiled to C, based on a quick scan of the Wikipedia page. I thought it compiled to perl at one point but that doesn’t seem to be true either.
- solarkraft 7y agoIt never compiled to C, but it was first intended to only provide bindings to libraries that were written in C.
- wirrbel 7y agoIirc it was kind of like a templating language first. Imagine writing a cgi-bin c application and becoming tired of writing out HTML with printf statements.
- ksherlock 7y agoFacebook (HipHop for PHP) transpiled PHP to C++ but that 15 years into its life.