Changeset 28806 for trunk/src/wp-includes/functions.php
- Timestamp:
- 06/23/2014 02:47:08 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r28794 r28806 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.0 4413 * 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 /** 4408 4426 * Alternative to filter_var( $var, FILTER_VALIDATE_BOOLEAN ) 4409 4427 *
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)