Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4611 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95493 invoked by uid 1010); 30 Sep 2003 10:58:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 95439 invoked from network); 30 Sep 2003 10:58:06 -0000 Received: from unknown (HELO mx.thebrainroom.net) (65.200.24.98) by pb1.pair.com with SMTP; 30 Sep 2003 10:58:06 -0000 Received: by mx.thebrainroom.net (Postfix, from userid 517) id A2850148808D; Tue, 30 Sep 2003 03:57:04 -0700 (PDT) Received: from zaneeb.brainnet.i (gate.thebrainroom.net [195.149.29.154]) by mx.thebrainroom.net (Postfix) with ESMTP id C2C001488087; Tue, 30 Sep 2003 03:56:52 -0700 (PDT) Received: from titan (titan.brainnet.i [192.168.2.7]) by zaneeb.brainnet.i (8.11.6/8.11.6) with SMTP id h8UAvrw09147; Tue, 30 Sep 2003 11:57:53 +0100 Message-ID: <021801c38741$b34407f0$0702a8c0@titan> To: "Lukas Smith" , References: <005801c3873e$38c71880$4d00a8c0@vandal> Date: Tue, 30 Sep 2003 11:57:54 +0100 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.3790.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 X-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,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] file_exists and array_merge_clobber From: wez@thebrainroom.com ("Wez Furlong") Using the include path for file_exists doesn't sound useful to me, for similar reasons as those for not allowing to write a file in the include path - which file are you actually writing to? What if someone puts a file with the same name earlier in the include path and so on. What is probably better is some kind of generic path-searching function that returns the full path to the first file in the include_path (or some other path). --Wez. ----- Original Message ----- From: "Lukas Smith" To: Sent: Tuesday, September 30, 2003 11:32 AM Subject: [PHP-DEV] file_exists and array_merge_clobber > Hi, > > We have a new intern who got right to work to improve file_exists() to > also be able to check the include_path similar to how fopen() can.