Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35992 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95611 invoked from network); 6 Mar 2008 02:52:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2008 02:52:58 -0000 Authentication-Results: pb1.pair.com header.from=david.coallier@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=david.coallier@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.189 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: david.coallier@gmail.com X-Host-Fingerprint: 209.85.198.189 rv-out-0910.google.com Received: from [209.85.198.189] ([209.85.198.189:40432] helo=rv-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/05-06151-78C5FC74 for ; Wed, 05 Mar 2008 21:52:57 -0500 Received: by rv-out-0910.google.com with SMTP id k15so1310046rvb.23 for ; Wed, 05 Mar 2008 18:52:52 -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:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=1q6u/XAp4k/CPhfboKP9OdwfTYNN5s0BWZHODnzSONk=; b=hgHMpQEs2Ly+OG1Crv4rq+jIPFEc0COrox4Mvlg1NCrfzSVpdLv2nWiruKlxfB0rsmPNLeAk/LOGMpvsm+jbbdYltYWHyuAM+rZgqRzt+wL6uMLIV2JVs8K7PE3tkAlnJUVpa6gd05TXR+mfSlVIOQnInjl1PUS46/xRPdlCAKg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=fZ+UJZsMWs1DQJ7/9NKIXt3R11a1SsZkcvB1s+8IHdIVQ7FA0Xt4yO54DMKCT6d0lzcaF/2F2ml/pLdqqVs1g8sgyycfdmIOxdGHH2vdn0Kh7pMcsNMKlb1g8RjHayNIW4wI4xWBADuuS0P2uY+uH/yL4SliiPLk879bQewhVck= Received: by 10.141.33.21 with SMTP id l21mr1845825rvj.105.1204771972370; Wed, 05 Mar 2008 18:52:52 -0800 (PST) Received: by 10.140.202.4 with HTTP; Wed, 5 Mar 2008 18:52:52 -0800 (PST) Message-ID: Date: Wed, 5 Mar 2008 21:52:52 -0500 Sender: david.coallier@gmail.com To: "Pierre Joye" Cc: "Lars Strojny" , "PHP Developers Mailing List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1204759149.27088.2.camel@localhost> <1204763172.31278.2.camel@localhost> <1204763576.31278.5.camel@localhost> X-Google-Sender-Auth: 2a8635bee497bcbe Subject: Re: [PHP-DEV] Deprecating php_dirname() in 5_3, removing in HEAD From: davidc@php.net ("David Coallier") > > > I'm talking about extension developers. We will all have to add yet > > > another #ifdef for this function, in the implementation or to define > > > php_dirname to keep the implementation clean(er). As it is good to > > > clean up codes, I'm not sure to remove this function is a good thing. > > > > That's why I suggest removing it in 6, and deprecating it from now on. > > As 6 "will break everything anyway". > > I go it but there is no easy to deprecate an internal function. Except > to spare two #define php_(u)_dirname in HEAD, I still see no gain :) > > Perhaps it's time to make a "compatibility" extension with all those ifdefs everywhere and engine hooks. -- David, Re-read what you are replying.