Voting

: min(five, six)?
(Example: nine)

The Note You're Voting On

eyecatchup at gmail dot com
11 years ago
Just a note: Instead of using the often recommended (rather complex) regular expression by W3C (http://www.w3.org/International/questions/qa-forms-utf-8.en.php), you can simply use the 'u' modifier to test a string for UTF-8 validity:

<?php
if (preg_match("//u", $string)) {
// $string is valid UTF-8
}

<< Back to user notes page

To Top