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

Hm, this has the same name as another project (one which is very popular): http://phpjs.org/

This php.js is very useful as it implements a number of functions that JS is missing.



One of the problems I have with that project is that none of the functions are namespaced or sandboxed (i.e. all global); but then again, it is emulating PHP, so there you go :)


Indeed, been using php.js for quite a while here now. Will give this other one a shot later on though, see how they compare to one another.


I don't think they are comparable. The one linked by toni[1] takes PHP code and compiles it for running in Javascript; the one linked by kaolinite[2] is a translation of some PHP methods into pure Javascript.

[1] http://phpjs.hertzen.com/ [2] http://phpjs.org/




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

Search: