Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48388 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13713 invoked from network); 22 May 2010 15:28:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 May 2010 15:28:32 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 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: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:56036] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2B/78-46027-F18F7FB4 for ; Sat, 22 May 2010 11:28:32 -0400 Received: by wyb40 with SMTP id 40so1460077wyb.29 for ; Sat, 22 May 2010 08:28:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Uw4p9CeATKE76SaDlaEXmdv1/vA7Z7AV+RQvcoGZXSo=; b=pOqug8CSLZy4TZet0Jgj9r1wMw3sQ+jw3gLJmiswhZ8j6DnkDhaKK5haLMJnagc3La k5DU+Uqr+FuLfcMtZbuulO0L/WgM2VxYd3ViKgkmCs4I6OYIyBKRPYx+J1TfuAVayUti +afxAMPqddFQAzMJOXHa29ikPeJEuYUgvSAsI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=FHslbY2zm28qxFcXGwTr6pQ1///0EkFBdT3sVVaTbSGIMo5nj1UiagmianYyfubLZ4 9i4+1AVJkoc1hec7gquOu6mvRkbDR8wjVAcahDCOuh5W+wM5jD9uuuvqJHMRg6T2Zu0U +CcbvjmXiTLoPaHrZhqKW70g98DWObL+AZq9E= MIME-Version: 1.0 Received: by 10.216.89.17 with SMTP id b17mr1773171wef.131.1274542109057; Sat, 22 May 2010 08:28:29 -0700 (PDT) Received: by 10.216.177.146 with HTTP; Sat, 22 May 2010 08:28:28 -0700 (PDT) In-Reply-To: References: <4BF6A90D.8020901@smashlabs.com> <4BF6AD07.7090001@moonspot.net> Date: Sat, 22 May 2010 17:28:28 +0200 Message-ID: To: Ilia Alshanetsky Cc: Brian Moon , Ralph Schindler , internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Fixes for parse_url, bug 50563 From: pierre.php@gmail.com (Pierre Joye) hi, On Sat, May 22, 2010 at 4:42 PM, Ilia Alshanetsky wrote: > Instead of removing a warning, why not add an additional parameter to the > function that would instruct it to silence warning messages on parse > failure? What are the actual usefulness of these warnings? I see absolutely no need to keep them. However, it would be useful to have an optional parameter to get why an URL actually failed. But that can be done later. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org