note 102020 modified in normalizer.normalize by danbrown
| From: | danbrown@php.net | Date: | Sun, 23 Jan 2011 17:38:10 +0000 |
| Subject: | note 102020 modified in normalizer.normalize by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-176220@lists.php.net to get a copy of this message | ||
This method/function will return boolean false if $input is not a valid utf-8-string, e.g.
<?php
var_dump(Normalizer::normalize("\xFF"));
// prints "bool(false)"
?>
--was--
This method/function will return boolean false if $input is not a valid utf-8-string, e.g.
var_dump(Normalizer::normalize("\xFF"));
// prints "bool(false)"
http://php.net/manual/en/normalizer.normalize.php