Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23289 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25103 invoked by uid 1010); 11 May 2006 23:21:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 25088 invoked from network); 11 May 2006 23:21:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 May 2006 23:21:00 -0000 X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:43124] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 11/E7-19568-CD6C3644 for ; Thu, 11 May 2006 19:21:00 -0400 Received: from baumbart.mbo (dslb-084-063-015-157.pools.arcor-ip.net [84.63.15.157]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id A8E7635C1C1; Fri, 12 May 2006 01:20:57 +0200 (CEST) Date: Fri, 12 May 2006 01:21:08 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1051989872.20060512012108@marcus-boerger.de> To: "D. Dante Lorenso" Cc: PHPdev In-Reply-To: <4463C471.7000801@vocalspace.com> References: <4463BF89.9040906@vocalspace.com> <1677896835.20060512005634@marcus-boerger.de> <4463C471.7000801@vocalspace.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] allow extension writers to ignore E_NOTICE warnings about unset variables From: helly@php.net (Marcus Boerger) Hello D., Friday, May 12, 2006, 1:10:41 AM, you wrote: > Marcus Boerger wrote: >> no, the compiler generates code that makes the executor generate the >> variable and complain prior to performing the call. >> > The executor doesn't complain about unset variables prior to calling > functions by reference, so I was thinking it could be modified to also > not complain when calling functions that don't care about set > variables. Naturally, the unset variable would evaluate as NULL and be > passed as such, just there would be no E_NOTICE. >> In a zend extension you could try to hook into that process. >> > How do you mean? Got any pointers? Sorry no. Maybe Sara captures that in her book. Only places i could imagine to touch what you need is Saras pecl/run-kit. Best regards, Marcus