Home  >  Article  >  Backend Development  >  (refcount=一, is_ref=1) 此时不能被unset

(refcount=一, is_ref=1) 此时不能被unset

WBOY
WBOYOriginal
2016-06-13 12:14:46959browse

(refcount=1, is_ref=1) 此时不能被unset


$a=1;
global $a;      


------解决思路----------------------

<br />$a=1;<br />global $a;<br />var_dump($a);<br />unset($a);<br />var_dump($a);<br />


有什么问题吗?

Statement:
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