Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35461 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40272 invoked by uid 1010); 13 Feb 2008 22:01:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40257 invoked from network); 13 Feb 2008 22:01:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2008 22:01:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.82.234 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 66.249.82.234 wx-out-0506.google.com Received: from [66.249.82.234] ([66.249.82.234:13063] helo=wx-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 62/21-24174-4B863B74 for ; Wed, 13 Feb 2008 17:01:25 -0500 Received: by wx-out-0506.google.com with SMTP id s14so182458wxc.26 for ; Wed, 13 Feb 2008 14:01:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=TPM6CwZyAmpBLKpxBteSsg3YT8yKoeMw7/fE41l1WJQ=; b=JQ07S2Yv2Diu3Qlp2KSsYpmnriU/RlqmgwAcvKRD6Fefw49gIiNAW7dgVaZQjS9+xKdj9Mf34J9JimeGT+ylnOx1JHEJasJFNyyPzjAGFalCjnGaqMmlJfbZip1C/75/BKFMl6sWzjF/UuLiMUvKzLe/+P01tcLjqDrbwL4drus= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dgMniQlERRfEx9J41PDhS/7ytrYsAUIR/kEjZC/VOHSkRxAJZz/CQvdya4NqXY9l4VdWgTNYo6rmITSNSfRsCFxxHFzaPHBhAxdOMnpEs+qOBAqFQIccXPBIsjDYLC5M5/BF0cN8oCp2NZKbHcAOy5+0KBCPOT6poUwBG7obDNE= Received: by 10.141.86.14 with SMTP id o14mr330270rvl.278.1202940081336; Wed, 13 Feb 2008 14:01:21 -0800 (PST) Received: by 10.141.70.21 with HTTP; Wed, 13 Feb 2008 14:01:21 -0800 (PST) Message-ID: Date: Wed, 13 Feb 2008 23:01:21 +0100 To: "Lars Strojny" Cc: "PHP Internals List" In-Reply-To: <1202917630.25345.6.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1202917630.25345.6.camel@localhost> Subject: Re: [PHP-DEV] [RFC] prepend_include_path()/append_include_path() From: pierre.php@gmail.com ("Pierre Joye") Hi Lars, 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' ); Thanks for your work anyway! :) Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org