Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41984 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23057 invoked from network); 18 Nov 2008 09:49:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2008 09:49:31 -0000 X-Host-Fingerprint: 134.130.78.10 unknown Received: from [134.130.78.10] ([134.130.78.10:4858] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 79/D5-07596-AAF82294 for ; Tue, 18 Nov 2008 04:49:31 -0500 Message-ID: <79.D5.07596.AAF82294@pb1.pair.com> To: internals@lists.php.net Date: Tue, 18 Nov 2008 10:49:19 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666 MIME-Version: 1.0 References: <28.8E.39815.8C421294@pb1.pair.com> <88.21.53741.5F931294@pb1.pair.com> In-Reply-To: <88.21.53741.5F931294@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Posted-By: 134.130.78.10 Subject: Re: Fatal error: Call to a member function on a non-object From: christopher.vogt@rwth-aachen.de (Christopher Vogt) Hej, >> echo $user['fullname']; // no error at all, $user['fullname'] === NULL >> >> Shouldn't this at least trigger a Notice? > > Check your error handling settings, probably warnings/notices are disabled. I now found it in the documentation os the String type http://php.net/language.types.string "Note: Accessing variables of other types using [] or {} silently returns NULL." I created a change request: http://bugs.php.net/bug.php?id=46602 Best regards Christopher