登录 注册
当前位置:主页 > 资源下载 > 9 > Underscore.php——Underscore.js的php移植版下载

Underscore.php——Underscore.js的php移植版下载

  • 更新:2024-12-04 14:40:14
  • 大小:36KB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:PHP - 后端
  • 格式:PHP

资源介绍

Underscore.js是目前最好用的Javascript工具包,提供了100多个函数。Underscore.php是Underscore.js的PHP移植版,并且实现了部分Underscore.js中的功能! 我花了一个月的时间将Underscore.php的文档翻译为中文,开源仓库地址: https://github.com/shuiguang/Underscore.php 注意:Underscore.php的原作者是老牌PHP程序员,其中使用静态调用方式访问非静态方法时php会提示Strict Standards: Non-static method的严谨性警告,不过只需要在php脚本的头部添加: error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); 即可屏蔽该警告,笔者已经在php7正式版中做了大量测试,Underscore.php依然非常好用!