Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23759 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39930 invoked by uid 1010); 28 May 2006 21:54:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 39915 invoked from network); 28 May 2006 21:54:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 May 2006 21:54:57 -0000 X-PHP-List-Original-Sender: kingwez@gmail.com X-Host-Fingerprint: 64.233.166.182 py-out-1112.google.com Linux 2.4/2.6 Received: from ([64.233.166.182:20770] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 05/22-18399-03C1A744 for ; Sun, 28 May 2006 17:54:57 -0400 Received: by py-out-1112.google.com with SMTP id c63so10074pyc for ; Sun, 28 May 2006 14:54:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZN2mwY2Cb4m4umwUcepjfZMV1RDo7ZEoS+/YYHp9RghB309Lz6qiP5uFL0chyumz0fjJsqYl5ss9Fkxtq+MLut5MvNJE/Zu4HnvZLQ13749vjO63g4o/A5Ha+VD1xW2EL0Fe4KvlHmasaZZ+H9J9H3ApbbAXdm3nGODtrhr3bEk= Received: by 10.35.78.13 with SMTP id f13mr2254585pyl; Sun, 28 May 2006 14:54:53 -0700 (PDT) Received: by 10.35.40.20 with HTTP; Sun, 28 May 2006 14:54:53 -0700 (PDT) Message-ID: <4e89b4260605281454ob1d6ebcx4533e597356be12f@mail.gmail.com> Date: Sun, 28 May 2006 17:54:53 -0400 To: "D. Dante Lorenso" Cc: "Sara Golemon" , internals@lists.php.net In-Reply-To: <44779017.9000809@vocalspace.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <447768DF.1000203@vocalspace.com> <009501c6811a$29987d30$5c8be5a9@ohr.berkeley.edu> <44779017.9000809@vocalspace.com> Subject: Re: [PHP-DEV] Re: extension can not receive unset values without E_NOTICE or referencecreation From: kingwez@gmail.com ("Wez Furlong") The E_NOTICE highlights a possible programmer error. If you don't want to see it, turn off E_NOTICE level in your error reporting settings. --Wez. On 5/26/06, D. Dante Lorenso wrote: > Sara Golemon wrote: > >> Back on the topic of trying to write a 'filled' function in an > >> extension, I have run into trouble. I have declared a function as fol= lows: > >> ... > >> Unfortunately, $x now contains a 'pig' key and the non-existent $y has > >> been transformed into an object: > > Short answer: No. What you're trying to do can not be done from an > > extension. -Sara > > > > Can I have this feature added to the TODO list for 5.2 or 6.0? > > Simple behavior definition: any ZVAL which does not exist for an > extension's function (which doesn't care about the ZVAL's existence) > should pass a newly created NULL ZVAL to the extension in place of the > non-existent ZVAL and the non-existent ZVAL will continue to not exist > after the function returns. > > Dante > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >