-
Notifications
You must be signed in to change notification settings - Fork 5
/
pf_array_depth.php
36 lines (34 loc) · 1.09 KB
/
pf_array_depth.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/**
* Created by PhpStorm.
* User: 运营部
* Date: 2019/1/24
* Time: 13:44
*
*
* _ooOoo_
* o8888888o
* 88" . "88
* (| ^_^ |)
* O\ = /O
* ____/`---'\____
* .' \\| |// `.
* / \\||| : |||// \
* / _||||| -:- |||||- \
* | | \\\ - /// | |
* | \_| ''\---/'' | |
* \ .-\__ `-` ___/-. /
* ___`. .' /--.--\ `. . ___
* ."" '< `.___\_<|>_/___.' >'"".
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
* \ \ `-. \_ __\ /__ _/ .-` / /
* ========`-.____`-.___\_____/___.-`____.-'========
* `=---='
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* 佛祖保佑 永无BUG 永不修改
*
*/
require __DIR__ . '/../vendor/autoload.php';
use pf\arr\PFarr;
$arr = [1,54,'a',45,12,'c',1,1,12,[1,1,'a',['a','b','a']]];
PFarr::dd(PFarr::pf_array_depth($arr));