Underscore.php

MIT
PHP
跨平台
2013-12-31
红薯

Underscore 是 Underscore.js 的一个 PHP 移植版本。

示例代码:

__::map(array(1, 2, 3), function($num) { return $num * 3; }); // array(3, 6, 9)

__::map(array('one'=>1, 'two'=>2, 'three'=>3), function($num, $key) {
  return $num * 3;
});
// array(3, 6, 9);
加载中

评论(0)

暂无评论

暂无资讯

暂无问答

PHP ---1

这是我开始学PHP的笔记…… 1,print&echo The print construct behaves more like a function than echo, because it returns a value 1; While echo is more useful because you can pass ...

2012/10/12 15:06
193
0
Where Are My Getters and Setters?

Where Are My Getters and Setters? When I first started coding in Magento, it was also my first time coding using PHP. Double Whammy! I had been used to coding in the land of Jav...

2013/01/19 11:07
14
0
Practice Backbone.js with PHP :: Example 1

环境Mac OS X, PhpStorm9, MAMP3.4(php5.6)

2015/11/19 19:38
56
0
UnderscoreJS

Underscore感觉好酷

2016/06/08 10:58
11
0
ios读书笔记

1.LLVM4自动合成的实例变量以下划线_开头。 2.The runtime method, setValue:forKey:used by KVC, writes to an ivar specified by key prefixed with a leading underscore if an ivar spec...

2014/03/24 16:30
94
0
Underscore-java by javadev

Underscore-java by javadev Underscore-java is a java port of the popular Underscore.js library. In addition to porting Underscore's functionality, Underscore-java includes match...

2016/12/03 12:14
3
0
公共jquery库/常用前端公共库CDN服务推荐

一,360网站卫士常用前端公共库CDN服务 这里提供了由360网站卫士CDN驱动的常用前端公共库以及和谐使用Google公共库&字体库的调用方法 网址http://libs.useso.com/ 二,百度支持的JS,字体库列表...

2016/07/22 20:37
28
0
Underscore骨骼

转一篇underscore的文章给大家 underscore函数大全以及例子:http://www.tuicool.com/articles/ZjAfqe 上次写过一篇QWrap骨骼的文章,个人认为,想要了解一个库或框架,首先从他的核心思想入...

2015/01/28 11:51
78
0

没有更多内容

加载失败,请刷新页面

返回顶部
顶部