Re: [PATCH] Bug #43896 htmlspecialchars returns empty string on invalid unicode sequence

From: Date: Sat, 26 Jan 2008 22:46:12 +0000
Subject: Re: [PATCH] Bug #43896 htmlspecialchars returns empty string on invalid unicode sequence
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-34951@lists.php.net to get a copy of this message
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

« previous php.internals (#34951) next »