Changeset 55136
- Timestamp:
- 01/25/2023 01:38:59 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/compat.php
r54855 r55136 57 57 * @return string Extracted substring. 58 58 */ 59 function mb_substr( $string, $start, $length = null, $encoding = null ) { 59 function mb_substr( $string, $start, $length = null, $encoding = null ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.stringFound 60 60 return _mb_substr( $string, $start, $length, $encoding ); 61 61 } … … 149 149 * @return int String length of `$string`. 150 150 */ 151 function mb_strlen( $string, $encoding = null ) { 151 function mb_strlen( $string, $encoding = null ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.stringFound 152 152 return _mb_strlen( $string, $encoding ); 153 153 } … … 394 394 * is not empty; `null` otherwise. 395 395 */ 396 function array_key_first( array $array ) { 396 function array_key_first( array $array ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.arrayFound 397 397 foreach ( $array as $key => $value ) { 398 398 return $key; … … 414 414 *. is not empty; `null` otherwise. 415 415 */ 416 function array_key_last( array $array ) { 416 function array_key_last( array $array ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.arrayFound 417 417 if ( empty( $array ) ) { 418 418 return null;
Note: See TracChangeset
for help on using the changeset viewer.