Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Coolha haxianhe

🎯
Focusing
Block or report user

Report or block haxianhe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@haxianhe
haxianhe / array_group_by.php
Last active Dec 21, 2018
【php】数组按某一个元素值进行分组,正如数据库的group by语句
View array_group_by.php
<?php
/**
* 数组按某一个元素值进行分组,正如数据库的group by语句
* @param $array
* @param $key
* @return array
*/
public function array_group_by($array, $key)
{
@haxianhe
haxianhe / unique_array_more.php
Last active Nov 1, 2018
二维数组去掉重复值
View unique_array_more.php
<? php
/**
* 对二维数组去重
* @param $array2D
* @return array
*/
function unique_array_more($array2D)
{
foreach ($array2D[0] as $key => $value) {
@haxianhe
haxianhe / aes_ecb_pkcs5.php
Created Jul 24, 2018 — forked from CodFrm/aes_ecb_pkcs5.php
PHP对接java的AES/ECB/PKCS5Padding加密方式
View aes_ecb_pkcs5.php
<?php
/**
*============================
* author:Farmer
* time:2017/12/19
* blog:blog.icodef.com
* function:加密方式
*============================
*/
You can’t perform that action at this time.