@@ -16,11 +16,11 @@ php.js is a resource that offers community-built JavaScript alternatives to PHP
16
16
- to see if we can
17
17
- to learn JavaScript
18
18
- to help others learn JavaScript
19
- - to see how a php program performs with V8 strapped on it's back
20
- - to run & debug php code in the browser
19
+ - to see how a php scripts perform with V8 strapped on their backs
21
20
- to profit from helpful functions like:
22
21
[ strip_tags] ( http://phpjs.org/functions/strip_tags/ ) ,
23
22
[ strtotime] ( http://phpjs.org/functions/strtotime/ ) ,
23
+ [ md5] ( http://phpjs.org/functions/md5/ ) ,
24
24
[ strftime] ( http://phpjs.org/functions/strftime/ ) ,
25
25
[ number_format] ( http://phpjs.org/functions/number_format/ ) ,
26
26
[ wordwrap] ( http://phpjs.org/functions/wordwrap/ ) ,
@@ -39,7 +39,7 @@ gigantic php.js packages or compilers.
39
39
That said, we do think it's a challenge to port everything and decided to also port
40
40
low-level PHP functions like
41
41
[ strpos] ( http://phpjs.org/functions/strpos/ )
42
- that have a perfectly fine (and more performant!) JavaScript
42
+ that have perfectly fine (and more performant!) JavaScript
43
43
counterparts ([ String.indexOf] ( https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String/indexOf ) in this case).
44
44
45
45
Besides the geeky-challenge of seeing how far we could come, porting ALL THE THINGS also
@@ -55,8 +55,8 @@ to decide what makes sense to take from it.
55
55
And what not.
56
56
57
57
Going by [ The McDonald's Theory] ( https://medium.com/what-i-learned-building/9216e1c9da7d )
58
- we have plently of functions here online that aren't perfect just yet.
59
- If you know how to improve , just send us a pull request on GitHub!
58
+ we have plently of functions online that aren't perfect just yet.
59
+ If you know how better ways , just send us a pull request on GitHub!
60
60
61
61
## Contributing
62
62
0 commit comments