2010/8/25 Marc Guay <marc.g...@gmail.com>:
>> function html($text)
>> {
>>        return htmlentities($text, ENT_QUOTES, 'UTF-8');
>> }
>>
>> function htmlout($text)
>> {
>>        return html($text);
>> }
>
> Possibly irrelevant, and definitely not related to your questions, but
> is it just me or is htmlout() a useless function?  Why not just call
> html() directly?

Why not call htmlentities() directly?
:-)
Or: why notuse htmlspecialchars() to speed it up.

Regards

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to