$data = array('server' => false);
echo $data['server']["test"];
How about this sentence? www.2cto.com
One might say NULL and NOTICE undefined index "test"
I thought so at first, but in fact it is not the case. NULL will be output, but NOTICE is not generated. This is really a cheating implementation
Excerpted from Wuxinyun
http://www.bkjia.com/PHPjc/478480.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/478480.htmlTechArticle$data = array(server = false); echo $data[server][test]; What about this sentence? Sample? www.2cto.com Some people may say NULL and NOTICE undefined index test. I thought so at first,...
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