Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34951 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48507 invoked by uid 1010); 26 Jan 2008 22:46:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 48492 invoked from network); 26 Jan 2008 22:46:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jan 2008 22:46:20 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@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: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:31321] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/17-08850-A38BB974 for ; Sat, 26 Jan 2008 17:46:19 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 27 Jan 2008 00:46:14 +0200 Received: from [192.168.17.15] ([192.168.17.15]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 26 Jan 2008 14:46:11 -0800 Message-ID: <479BB834.2040001@zend.com> Date: Sat, 26 Jan 2008 14:46:12 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Tomas Kuliavas CC: internals@lists.php.net References: <200801241426.39756.arnaud.lb@gmail.com> <479A613C.8030604@zend.com> <37582.78.61.224.253.1201331756.nsm@avilys.eik.lt> In-Reply-To: <37582.78.61.224.253.1201331756.nsm@avilys.eik.lt> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Jan 2008 22:46:11.0944 (UTC) FILETIME=[3FE08680:01C8606D] Subject: Re: [PHP-DEV] [PATCH] Bug #43896 htmlspecialchars returns empty string on invalid unicode sequence From: stas@zend.com (Stanislav Malyshev) > Instead of using simple sanitizing function users are forced to check for > errors. How good is that? It makes code complex or unreliable. Explain me again how checking for errors makes code unreliable? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com