Most PHP programmers have to deal with Javascript in some form or another. It is a rare project that solely uses PHP to the exclusion of Javascript. mybloggingplanet.com/2014/10/how-to-add-top-commenters-widget-in.html

To help out PHP programmers, and at the same time, add some useful functionality to Javascript, there is a project called php.js.

What this open source project has done, is write a library of functions in Javascript that mirror the functionality available within PHP. This means you get things like md5(), strip_tags(), strtotime().

The project is not trying to create a PHP emulator in Javascript, but rather to provide the functions available in PHP in Javascript, which means a programmer well-versed in PHP will be much more productive in Javascript.

Share