bug_x

导航

 

2016年2月4日

摘要: 更快的方式实现PHP数组去重 1 2 3 4 5 6 7 8 9 /* 创建一个包含重复值的,一共四个元素的数组 */ $array = array('green','blue','orange','blue'); /* 翻转数组,你将会得到唯一键值的数组 array('green'=>0,'blu 阅读全文
posted @ 2016-02-04 18:10 bug_x 阅读(233) 评论(0) 推荐(0) 编辑
 
摘要: function fue($hash,$times) { // Execute the encryption(s) as many times as the user wants for($i=$times;$i>0;$i--) { // Encode with base64... $hash=ba 阅读全文
posted @ 2016-02-04 17:48 bug_x 阅读(245) 评论(0) 推荐(0) 编辑