Changeset 28808 for trunk/src/wp-includes/functions.php
- Timestamp:
- 06/23/2014 10:20:23 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r28806 r28808 4406 4406 4407 4407 /** 4408 * Uses a binary-safe encoding to get the length of a string in bytes if func_overload is enabled.4409 *4410 * @see mbstring_binary_safe_encoding()4411 *4412 * @since 4.0.04413 *4414 * @param string $string The string to get the length of.4415 * @return int The length of the string in bytes.4416 */4417 function mbstring_binary_safe_strlen( $string ) {4418 mbstring_binary_safe_encoding();4419 $length = strlen( $string );4420 reset_mbstring_encoding();4421 4422 return $length;4423 }4424 4425 /**4426 4408 * Alternative to filter_var( $var, FILTER_VALIDATE_BOOLEAN ) 4427 4409 *
Note: See TracChangeset
for help on using the changeset viewer.