php-大家讨论一下debug_zval_dump()如何

WBOY
Release: 2016-06-02 11:29:09
Original
871 people have browsed it

php调试

此函数的支持环境为:(PHP 4 >= 4.2.0, PHP 5, PHP 7)
两个不同的demo得到的结果不同,大家是怎么理解这个函数的?又都是怎么使用的呢?

<code> <?php $var1 = 'Hello World';$var2 = '';$var2 =& $var1;debug_zval_dump($var1); // not passed by reference, this time?></code>
Copy after login
<code> <?php $var1 = 'Hello World';debug_zval_dump($var1);?></code>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!