Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42409 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47205 invoked from network); 30 Dec 2008 15:15:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Dec 2008 15:15:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=ilia@prohost.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ilia@prohost.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain prohost.org from 64.233.170.188 cause and error) X-PHP-List-Original-Sender: ilia@prohost.org X-Host-Fingerprint: 64.233.170.188 rn-out-0910.google.com Received: from [64.233.170.188] ([64.233.170.188:29868] helo=rn-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/F1-29733-AFA3A594 for ; Tue, 30 Dec 2008 10:15:06 -0500 Received: by rn-out-0910.google.com with SMTP id k40so3543857rnd.0 for ; Tue, 30 Dec 2008 07:15:03 -0800 (PST) Received: by 10.65.150.2 with SMTP id c2mr11479635qbo.32.1230650103237; Tue, 30 Dec 2008 07:15:03 -0800 (PST) Received: from ?192.168.1.132? (CPE0018f8c0ee69-CM000f9f7d6664.cpe.net.cable.rogers.com [72.138.241.182]) by mx.google.com with ESMTPS id p31sm25811814qbp.18.2008.12.30.07.15.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Dec 2008 07:15:01 -0800 (PST) Cc: PHP Development Message-ID: <12B6F346-9432-4515-96AF-6CF09C5B58A4@prohost.org> To: Antony Dovgal In-Reply-To: <4959EA5C.3030501@daylessday.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 30 Dec 2008 10:15:00 -0500 References: <0EF4028C-3E68-418F-A7CF-FCBF7B1163C4@gmail.com> <727FD055-A318-4E58-96C1-56936F422D62@prohost.org> <4959EA5C.3030501@daylessday.org> X-Mailer: Apple Mail (2.930.3) Subject: Re: [PHP-DEV] Re: [PHP] POSIX 1003.1-2001 gethostname(2) From: ilia@prohost.org (Ilia Alshanetsky) What is the benefit of the new API, documents better, has a longer name, helps some fuzzing suit to determine if functions take args or not? Also, is this documented anywhere? On 30-Dec-08, at 4:31 AM, Antony Dovgal wrote: > On 30.12.2008 03:24, Ilia Alshanetsky wrote: >> There is nothing wrong with using WRONG_PARAM_COUNT, it worked in the >> past and still works fine and quite a bit of code still uses it. > > True, but we're trying to get rid of it, so please use new parameter > parsing API when adding new functions. > Thanks. > > -- > Wbr, > Antony Dovgal Ilia Alshanetsky