ID: 49109 Updated by: j...@php.net Reported By: leadaxe at gmail dot com -Status: Open +Status: Bogus Bug Type: Output Control Operating System: FreeBSD PHP Version: 5.3.0 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2009-07-30 12:28:13] leadaxe at gmail dot com Description: ------------ You have paradox in error reporting "unset" function I thing, that logic mast be simple as in "isset" function I'm confuze by notice from this simple example. I'm always use maximum error_reporting and analyze logs and this is actual problem. Reproduce code: --------------- <? error_reporting(E_ALL); ini_set('display_errors', 1); $nonexisten = array(); unset($nonexisten); // no error unset($nonexisten); // no error unset($nonexisten[0]); // notice $nonexisten = array(0); unset($nonexisten[0]['name']); // no error ?> Expected result: ---------------- <b>Notice</b>: Undefined variable: nonexisten in <b>PHPDocument2</b> on line <b>7</b><br /> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49109&edit=1