Changeset 2171 for trunk/system/core/utf8/strcspn.php
- Timestamp:
- 02/26/2008 05:42:45 AM (9 months ago)
- Files:
-
- 1 modified
-
trunk/system/core/utf8/strcspn.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/core/utf8/strcspn.php
r1382 r2171 27 27 preg_match('/^[^'.$mask.']+/u', $str, $matches); 28 28 29 return (isset($matches[0])) ? utf8::strlen($matches[0]) : 0;29 return isset($matches[0]) ? utf8::strlen($matches[0]) : 0; 30 30 }
