当前位置:网站首页>php 判断数组是否为多维数组
php 判断数组是否为多维数组
2022-08-11 01:12:00 【godonlyknew】
if (!function_exists('isSecondArray')) {
/**
* 判断是否是二维数组
* @param $var
* @return bool
*/
function isSecondArray($var)
{
if (count($var) == count($var, 1)) {
return false;
} else {
return true;
}
}
}
边栏推荐
- Two-dimensional array combat project -------- "Minesweeper Game"
- what is an array
- C#使用计时器
- [GXYCTF2019]BabySQli
- 编程技巧│selenium 更新 chromedriver 驱动
- 嵌入式软件打log的一些心得
- 时间戳转换为日期格式、获取当前时间戳
- C # - delegate detailed usage
- Dual machine thermal for comprehensive experiment (VRRP + OSPF + + NAT + DHCP + VTP PVSTP + single-arm routing)
- vim取上个窗口号.
猜你喜欢
随机推荐
Mysql database installation and configuration detailed tutorial
还在用 Xshell?你 out 了,推荐一个更现代的终端连接工具,好用到爆!
循环单词
如何破坏Excel文件,让其显示文件已损坏方法
详解JDBC的实现与优化(万字详解)
ArcGIS Pro 创建tpk
Volatile和CAS
【考虫 六级英语】语法课笔记
MySQL进阶查询
Update chromedriver driver programming skills │ selenium
Shell 文本三剑客 Sed
More parameter exposure of Pico 4: Pancake + color perspective, and Pro version
分库分表ShardingSphere-JDBC笔记整理
20张图,全面掌握MVCC原理!
Kunpeng compilation and debugging and basic knowledge of native development tools
15 DOM 扩展
【HFSS学习记录2】腔体滤波器的设计与仿真
dump_stack ()
J9 Digital Theory: DAO governance is more like an ecological process: governance is native to the network and continues to evolve
networkmanager无法打开