php.js is a JavaScript library, enables you perform high-level operations like converting a string to time or retrieving a specific date format, in JavaScript.
Using php.js, you can write high-level PHP functions for low-level JavaScript platforms (for example browsers, V8 JavaScript Engine etc).
In this comprehensive php.js tutorial, you will learn about hundreds of php.js functions with examples.
Historyphp.js was started in the early 2009 by Kevin van Zonneveld and Brett Zamir.
It is an Open Source Project, licensed under MIT License. Till then, many developers have contributed to the project and the project is 81.4% complete as of this writing.
Many other projects like Ext for Yii, node.js, ShaniaTwain.com, KillBugs, XSoftware Corporation, TwiPho, mediacode, Sprink, Harmony Framework used php.js someway or other successfully.
Advantages of learning php.jsYou will save a lot of time, since using php.js you can perform high-level operations on Browsers and or Client side.
You can use your concepts learned from PHP functions in another language (JavaScript).
Obtain php.js You can download it from Github (https://github.com/kvz/phpjs/).After you have downloaded the file, include that file in an webpage like this :
<script src="filename.js"></script>
And write you JavaScript code like :
<script src="filename.js"></script>
<script type="text/javascript">
.....your code
</script>
Next: php.js : checkdate() function
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4