Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23303 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64289 invoked by uid 1010); 12 May 2006 12:38:47 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 64274 invoked from network); 12 May 2006 12:38:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 May 2006 12:38:47 -0000 X-PHP-List-Original-Sender: stefan.walk@gmail.com X-Host-Fingerprint: 64.233.162.202 nz-out-0102.google.com Linux 2.4/2.6 Received: from ([64.233.162.202:20795] helo=nz-out-0102.google.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 94/DF-19568-7D184644 for ; Fri, 12 May 2006 08:38:47 -0400 Received: by nz-out-0102.google.com with SMTP id x3so450823nzd for ; Fri, 12 May 2006 05:38:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=rwLbNpj8xN4D6DWCdst6Kk4B72LL417iGVuOX+OBI6SxiVwQInFAQUnSIbQCJ6rN8+zYEqSoBBRPJgC/ltVob8PjLRC0pd/MkXD6kCXFlVoFiyCXlpDma5SavVFF2SUI/Y5PsgX8YyZ6D++uw4pshRP/2nahXBP8p1i1WoGyxQ0= Received: by 10.36.96.15 with SMTP id t15mr1600071nzb; Fri, 12 May 2006 05:37:00 -0700 (PDT) Received: from ?130.83.73.80? ( [130.83.73.80]) by mx.gmail.com with ESMTP id 34sm4672938nza.2006.05.12.05.38.40; Fri, 12 May 2006 05:38:41 -0700 (PDT) Message-ID: <446481BB.3040709@gmail.com> Date: Fri, 12 May 2006 14:38:19 +0200 User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Antony Dovgal CC: "D. Dante Lorenso" , PHPdev References: <4463BF89.9040906@vocalspace.com> <4463C105.8080007@zend.com> <4463C33A.9080508@vocalspace.com> <4463C783.6050806@zend.com> In-Reply-To: <4463C783.6050806@zend.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] allow extension writers to ignore E_NOTICE warnings about unset variables From: stefan.walk@gmail.com (Stefan Walk) Antony Dovgal wrote: > Only if you created it during the call. > > function foo(&$arg) { > } > > foo($nonex); > var_dump(isset($nonex)); > ?> > > bool(false) > $ php -r 'function foo(&$foo){} function bar(){ foo($var); var_dump(get_defined_vars());} bar();' array(1) { ["var"]=> NULL }