Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32871 Return-Path: <131.php@cloudyks.org> Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86448 invoked by uid 1010); 19 Oct 2007 08:36:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 86433 invoked from network); 19 Oct 2007 08:36:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Oct 2007 08:36:32 -0000 X-Host-Fingerprint: 82.236.206.18 intranet-2.imacus.com Received: from [82.236.206.18] ([82.236.206.18:2096] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/4C-00686-E8C68174 for ; Fri, 19 Oct 2007 04:36:31 -0400 Message-ID: <59.4C.00686.E8C68174@pb1.pair.com> To: internals@lists.php.net Date: Fri, 19 Oct 2007 10:41:38 +0200 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Posted-By: 82.236.206.18 Subject: Undefined Constants behavior in PHP6 From: 131.php@cloudyks.org ("news.php.net") I was wondering if someone already think about modifying the actual behavior of undefined constants in php6. I'm desperate with some if(DEBUG) print_r($_SESSION); - and lot others case - Is there a possibility undefined constants ( strings ) return "null" :x ? I do not think it's a mistake, since echo "{$array[foo]}" is not good and "{$array['foo']}" is 131