Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7434 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89442 invoked by uid 1010); 30 Jan 2004 18:47:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89411 invoked from network); 30 Jan 2004 18:47:29 -0000 Received: from unknown (HELO mx.thebrainroom.net) (65.200.24.98) by pb1.pair.com with SMTP; 30 Jan 2004 18:47:29 -0000 Received: by mx.thebrainroom.net (Postfix, from userid 517) id 04CAB148808A; Fri, 30 Jan 2004 10:47:17 -0800 (PST) Received: from obsidian (zaneeb.thebrainroom.net [82.133.1.138]) by mx.thebrainroom.net (Postfix) with ESMTP id 1D7831488088; Fri, 30 Jan 2004 10:47:15 -0800 (PST) Message-ID: <00f501c3e761$45fc1c20$8802a8c0@obsidian> To: "Sterling Hughes" , "Ilia Alshanetsky" Cc: "Rasmus Lerdorf" , , "Andi Gutmans" , "Zeev Suraski" References: <200401301235.01213.ilia@prohost.org> <200401301317.43714.ilia@prohost.org> <20040130184332.GA29052@bumblebury.com> Date: Fri, 30 Jan 2004 18:45:44 -0000 Organization: The Brain Room Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_30,QUOTED_EMAIL_TEXT,REFERENCES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-TBR-Filter: Virus scanned and defanged Subject: Re: [PHP-DEV] Warnings in include files suddenly treated as fatal From: wez@thebrainroom.com ("Wez Furlong") stat wouldn't work for URL includes. > > + zend_file_handle file_handle; > > + zend_bool can_open = zend_stream_open(inc_filename->value.str.val, &file_handle TSRMLS_CC); > > + zend_file_handle_dtor(&file_handle); > > + > > wouldn't a stat be better suited here?