Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24388 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9746 invoked by uid 1010); 15 Jul 2006 10:55:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 9730 invoked from network); 15 Jul 2006 10:55:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jul 2006 10:55:35 -0000 X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:36635] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id D4/B3-11992-4F4C8B44 for ; Sat, 15 Jul 2006 06:35:33 -0400 Received: from baumbart.mbo (dslb-084-063-002-216.pools.arcor-ip.net [84.63.2.216]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id ACA0A35C201; Sat, 15 Jul 2006 12:35:29 +0200 (CEST) Date: Sat, 15 Jul 2006 12:35:35 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1677951797.20060715123535@marcus-boerger.de> To: Tobias Schlitt Cc: internals@lists.php.net In-Reply-To: <44B7F0E8.1080001@schlitt.info> References: <44B7F0E8.1080001@schlitt.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Tiny pathinfo() patch From: helly@php.net (Marcus Boerger) Hello Tobias, looks good after the update. Can you provide a patch for HEAD too? also please provide patches with "cvs di -upd". best regards marcus Friday, July 14, 2006, 9:30:48 PM, you wrote: > Hi all! > It occured several times in the past weeks, where I needed the filename > without extension as well as the file extension extracted from a > pathname. Since first calling pathinfo() and then basename() again, or > using string manipulation, I now patched pathinfo() to provide the > filename without extension per default with key "filename". > Find the patch here: http://schlitt.info/misc/pathinfo.patch > The patch is against 5_2. > Maybe someone considers that useful as well? > Regards, > Toby > -- > Tobias Schlitt - Zend Certified Engineer GPG Key: 0xC462BC14 > a passion for php http://www.schlitt.info > Like to say "thank you"? - http://pear.php.net/wishlist.php/toby Best regards, Marcus