Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36528 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37023 invoked from network); 26 Mar 2008 09:08:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Mar 2008 09:08:38 -0000 Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain daylessday.org designates 89.208.40.236 as permitted sender) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 89.208.40.236 mail.daylessday.org Linux 2.6 Received: from [89.208.40.236] ([89.208.40.236:50284] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/B2-22337-4921AE74 for ; Wed, 26 Mar 2008 04:08:37 -0500 Received: from [192.168.3.91] (unknown [212.42.62.198]) by daylessday.org (Postfix) with ESMTP id 75BC06400ED; Wed, 26 Mar 2008 12:08:33 +0300 (MSK) Message-ID: <47EA1291.2020608@daylessday.org> Date: Wed, 26 Mar 2008 12:08:33 +0300 User-Agent: Thunderbird 2.0.0.9 (X11/20071114) MIME-Version: 1.0 To: Christian Schneider CC: internals@lists.php.net References: <47E99EF8.1080404@cschneid.com> In-Reply-To: <47E99EF8.1080404@cschneid.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [PATCH] Allow null to string conversion for PHP 6 From: tony@daylessday.org (Antony Dovgal) On 26.03.2008 03:55, Christian Schneider wrote: > Playing around with PHP 6 I noticed that some functions start to > complain about conversion of null values to strings: > > php -d error_reporting=65535 -r 'var_dump(urldecode(null));' > > Warning: urldecode() expects parameter 1 to be strictly a binary string, > null given in Command line code on line 1 I applied slightly different patch, but it does exactly the same. Thanks for the heads up. -- Wbr, Antony Dovgal