PHP 2 JS

Few days back, a friend of mine shared a lib with me.

PHP.JS is an open source project in which we try to port PHP functions to JavaScript. By including the PHP.JS library in your own projects, you can use your favorite PHP functions on the client-side.

This convenience may speed up development for PHP developers who are increasingly confronted with client-side technology.

It also offers added functionality for scripting, because JavaScript does not natively support higher-level functions such as: file_get_contents(), mktime(), serialize()
It’s nothing fancy like jQuery, we’re just offering PHP functions, with all of their original flaws and benefits for whomever needs them.

http://phpjs.org/

Posted in PHP. Tags: , . 1 Comment »

One Response to “PHP 2 JS”

  1. beli Says:

    Hello. I think your functions are very interesting. I will try it and tell you will it work for me. I think that your post about how to port PHP functions to JavaScript is really good. I will ask for your help if I come on some problems with code implementation.


Share your thoughts & feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: