Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27200 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28336 invoked by uid 1010); 25 Dec 2006 15:22:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28320 invoked from network); 25 Dec 2006 15:22:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Dec 2006 15:22:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:56026] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/03-10583-A9CEF854 for ; Mon, 25 Dec 2006 10:22:38 -0500 Received: (qmail 22866 invoked from network); 25 Dec 2006 15:20:27 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 25 Dec 2006 15:20:27 -0000 Message-ID: <458FEC97.2040004@zend.com> Date: Mon, 25 Dec 2006 18:21:59 +0300 User-Agent: Thunderbird 1.5.0.8 (X11/20061025) MIME-Version: 1.0 To: Alexander Demin CC: internals@lists.php.net References: <179d34610612250707w24963db5g7ed02340193a03c@mail.gmail.com> In-Reply-To: <179d34610612250707w24963db5g7ed02340193a03c@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: New hexdump manipulation functions for PHP5 From: antony@zend.com (Antony Dovgal) On 12/25/2006 06:07 PM, Alexander Demin wrote: > On Mon Dec 25 09:46:13 2006, Antony Dovgal wrote: > >>> this patch for PHP5 adds four new string functions into the extension >>> 'standard': >>> - hexdump() >>> - packhex() >>> - smart_hexdump() >>> - smart_packhex() > >>Please elaborate on how these functions can be useful, why in your > opinion they should be added >>to the core (and not PECL) and why this cannot be implemented in PHP itself. > > I think, hexdump manipulation functions are very useful string functions. > I have been using hexdump(), packhex() and smart hex functions, > written on PHP, and including it in many projects more than 2 years, > and at last I've implemented it into php core. Well, what about PEAR package then? I don't see any certain reasons to add them into the core, if they can be easily implemented in PHP. While I can understand your needs, I'm against adding to the core each & every function that can be useful for a couple of persons using PHP, especially if this function can be implemented in PHP. So -1 from me. -- Wbr, Antony Dovgal