Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35462 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41809 invoked by uid 1010); 13 Feb 2008 22:07:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41794 invoked from network); 13 Feb 2008 22:07:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2008 22:07:04 -0000 Authentication-Results: pb1.pair.com header.from=markus@fischer.name; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=markus@fischer.name; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fischer.name from 213.46.255.22 cause and error) X-PHP-List-Original-Sender: markus@fischer.name X-Host-Fingerprint: 213.46.255.22 viefep18-int.chello.at Solaris 10 (beta) Received: from [213.46.255.22] ([213.46.255.22:52551] helo=viefep19-int.chello.at) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/61-24174-60A63B74 for ; Wed, 13 Feb 2008 17:07:03 -0500 Received: from genuine.home ([84.112.136.139]) by viefep19-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20080213220658.SMSE13912.viefep19-int.chello.at@genuine.home>; Wed, 13 Feb 2008 23:06:58 +0100 Received: from ncvielp07.home ([192.168.1.51]) by genuine.home with esmtpa (Exim 4.50) id 1JPPkQ-0005dt-TV; Wed, 13 Feb 2008 23:06:35 +0100 Message-ID: <47B36A01.4020706@fischer.name> Date: Wed, 13 Feb 2008 23:06:57 +0100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Pierre Joye CC: Lars Strojny , PHP Internals List References: <1202917630.25345.6.camel@localhost> In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=C2272BD0; url=http://markus.fischer.name/my_public_key.txt Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -32 X-Spam-Level: --- X-Spam-Report: Spam detection software, running on the system "genuine.home", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pierre Joye wrote: > On Feb 13, 2008 4:47 PM, Lars Strojny wrote: >> Hi everyone, >> >> the following patch[1] adds the functions append_include_path() and >> prepend_include_path(). These function are there to make include path >> adjustments easier than it is. Especially append_include_path() is what >> is done most of the time. > > I don't think we need two new functions for: > > set_include_path('/some/path' . DIRECTORY_SEPARATOR . get_include_path()); > set_include_path(. get_include_path() . DIRECTORY_SEPARATOR . '/some/path' ); [...] Content analysis details: (-3.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -3.3 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60% [score: 0.4854] Subject: Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path() From: markus@fischer.name (Markus Fischer) Pierre Joye wrote: > On Feb 13, 2008 4:47 PM, Lars Strojny wrote: >> Hi everyone, >> >> the following patch[1] adds the functions append_include_path() and >> prepend_include_path(). These function are there to make include path >> adjustments easier than it is. Especially append_include_path() is what >> is done most of the time. > > I don't think we need two new functions for: > > set_include_path('/some/path' . DIRECTORY_SEPARATOR . get_include_path()); > set_include_path(. get_include_path() . DIRECTORY_SEPARATOR . '/some/path' ); Gotcha, it needs to be PATH_SEPARATOR, no? - Markus