PHPJS

I happened to come across a site which I should share with you guys.
It is the repository of many Javascript Functions which equals Php Functions.
http://phpjs.org/
Many things which are possible with a single function in PHP is not possible with JS (with a single function) [For example: nl2br]. There are many functions in this site (phpjs.org) through which we can make this possible. This saves you a lot of time.

It is the repository of many Javascript Functions which equals Php Functions.
http://phpjs.org/
Many things which are possible with a single function in PHP is not possible with JS (with a single function) [For example: nl2br]. There are many functions in this site (phpjs.org) through which we can make this possible. This saves you a lot of time.

