print_r return BLANK PAGE(print_r 返回空白页)
问题描述
我有一个奇怪的问题,我在 Joomla YOOtheme ZOO 扩展中使用 print_r($obj)
并返回一个空白页.它只是充当 die()
!
I have a weird problem, I am using print_r($obj)
in Joomla YOOtheme ZOO extension and it returns a blank page. it just act as die()
!
它应该输出对象,但它没有.
it should output the object but it does not.
请注意,print_r()
可以与其他一些对象和变量一起正常工作.
Please note that print_r()
is working fine with some other objects and variables.
我在 Windows 上使用 XAMPP.
I am using XAMPP on Windows.
有什么帮助吗?
执行print_r()
和var_dump()
后,页面一片空白,没有报错,查看源码显示:
Upon executing print_r()
and var_dump()
, the page is just blank, no error, view source shows:
<html>
<head></head>
<body></body>
</html>
错误报告已开启.
推荐答案
可能是 $obj
太大而无法加载,并且在脚本停止工作后会占用大量内存.
It is posible that $obj
is too big to load, and grabs a lot of memory after which the script stops to work.
谢谢
这篇关于print_r 返回空白页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:print_r 返回空白页


基础教程推荐
- 如何在 PHP 中的请求之间持久化对象 2022-01-01
- 在 Woocommerce 中根据运输方式和付款方式添加费用 2021-01-01
- 在多维数组中查找最大值 2021-01-01
- WooCommerce 中选定产品类别的自定义产品价格后缀 2021-01-01
- XAMPP 服务器不加载 CSS 文件 2022-01-01
- 通过 PHP SoapClient 请求发送原始 XML 2021-01-01
- Libpuzzle 索引数百万张图片? 2022-01-01
- 在 PHP 中强制下载文件 - 在 Joomla 框架内 2022-01-01
- 超薄框架REST服务两次获得输出 2022-01-01
- mysqli_insert_id 是否有可能在高流量应用程序中返回 2021-01-01