JavaScript构造PHP函数

  WEB工程师对PHP和JavaScript已经非常了解,PHP有一套完整而强大的函数库,而JavaScript的函数库则显得凤毛麟角,不够强大。

  无意中发现一个开源的js函数库“php.js"。用JavaScript来实现PHP的函数。涉及数组,对象,时间,加密,文本等非常多的函数。

 

  官方站点为:http://phpjs.org/

 

  函数代码:http://kevin.vanzonneveld.net/techblog/category/php2js/

 

  下载地址:http://phpjs.org/packages/download/308/name:php.default.min.js

 

--------------------华丽的分割线-----------------------

 

  我们也可以加入开源项目,发布自己的代码。

 

  添加新函数:http://phpjs.org/unported/index#unported

 

  改进已有函数:http://phpjs.org/functions/index

 

--------------------华丽的分割线-----------------------

 

  以下是已经实现的PHP函数:

Arrays

BCMath Arbitrary Precision Mathematics

Character type checking

Class/Object Information

Classkit

Date and Time

Error Handling and Logging

Filesystem

Function Handling

JavaScript Object Notation

Language & Control Structures

Mail

Mathematical Functions

Miscellaneous Functions

Net Gopher

Network

Object Aggregation/Composition

PHP Options and Information

Program execution Functions

Regular Expressions (Perl-Compatible)

Streams

Strings

URLs

Variable handling

XML Parser

[internal] php.js shared libs

i18n

runkit

xdiff

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值