当前位置:网站首页>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;
}
}
}
边栏推荐
猜你喜欢
How to check if the online query suddenly slows down
WebView2 通过 PuppeteerSharp 实现RPA获取壁纸 (案例版)
MSTP - Multiple Spanning Tree (Case + Configuration)
嵌入式软件打log的一些心得
全排列思路详解
Exception: try catch finally throws throw
Apache Commons Configuration远程代码执行漏洞(CVE-2022-33980)分析&复现
Volatile和CAS
91.(cesium之家)cesium火箭发射模拟
Dual machine thermal for comprehensive experiment (VRRP + OSPF + + NAT + DHCP + VTP PVSTP + single-arm routing)
随机推荐
Linux安装redis数据库
【ASM】字节码操作 ClassWriter COMPUTE_FRAMES 的作用 与 visitMaxs 的关系
Shell 文本三剑客 Sed
15 DOM 扩展
Mysql数据库安装配置详细教程
Volatile和CAS
20张图,全面掌握MVCC原理!
Use mysql statement to operate data table (table)
leetcode 前K个高频单词
使用 BeanUtils 做属性拷贝,性能有点拉胯!
微信小程序内部A页面向内嵌H5页面跳转,并且传参
Go项目配置管理神器之viper使用详解
EPro-PnP: Generalized End-to-End Probabilistic Perspective-n-Points for Monocular Object Pose Est...
MSTP - Multiple Spanning Tree (Case + Configuration)
#yyds Dry Goods Inventory#[Yugong Series] August 2022 Go Teaching Course 008-Integer of Data Types
postgresql parameter meaning
Summarize the acquisition of commonly used file information QFileInfo in Qt: suffix, name, path, link
2022.8.10-----leetcode.640
[GXYCTF2019]BabySQli
More parameter exposure of Pico 4: Pancake + color perspective, and Pro version