PHP--封装干净利落的输出dump()函数
2024-08-31 13:40:38
/**
* 打印函数
*
*/
if (! function_exists ( 'dump' )) {
function dump($var, $exit = true) {
echo '<pre>';
print_r ( $var );
echo '</pre>';
if ($exit) {
die ();
}
}
}
最新文章
- nagios检测http
- iOS开发之SQLite--C语言接口规范(五)——iOS开发使用SQLite实例
- 投入Html5的怀抱,最近在研究的Egret
- c++ 指针(二)
- Xcode 8 : iOS xib is missing from working copy、iOS misssing file
- sql: sq_helptext
- 转: Github访问慢解决办法
- 【wikioi】1222 信与信封问题(二分图+特殊的技巧)
- VS 2003 无法打开Web项目 文件路径与URL不符 这两者需要映射到相同的服务器位置
- 【译】索引进阶(十二):SQL SERVER中的索引碎片【中篇】
- Linux svn checkout时候总报设备上没有空间
- vue图片被加了盗链
- Visual Studio 中使用万能头文件 #include <;bits/stdc++.h>;
- 使用@font-family时各浏览器对字体格式(format)的支持情况
- [leetcode]161. One Edit Distance编辑步数为一
- SQL语句之order by 、group by、having、where
- Dungeon Master---2251(bfs)
- [磁盘空间]lsof处理文件恢复、句柄以及空间释放问题
- 利用PHP的debug_backtrace函数,实现PHP文件权限管理、动态加载
- LOJ#2471「九省联考 2018」一双木棋 MinMax博弈+记搜
热门文章
- identifier of an instance of xx.entity was altered from xxKey@249e3cb2 to xxKey@74e8f4a3; nested exception is org.hibernate.HibernateException: identifier of an instance of xxentity was altered from错误
- Linux课程---15、域名相关
- 云-腾讯云-云直播:云直播(LVB)
- selenium - 截图下载图片
- 关于tomcat配置了虚拟路径,但是在Idea中无法生效的问题
- PropertyPlaceholderConfigurer的注意事项
- WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel
- [记]Windows 系统下设置Nodejs NPM全局路径
- csscomb配置文件说明
- CycloneII lcell_comb 和 lcell_FF 的结构