Summery Summery
Determines whether a PHP ini value is changeable at runtime.
Syntax Syntax
Parameters Parameters
- $setting
-
(Required) The name of the ini setting to check.
Return Return
(bool) True if the value is changeable at runtime. False otherwise.
Source Source
File: wp-includes/load.php
return false; } /** * Converts a shorthand byte value to an integer byte value. * * @since 2.3.0 * @since 4.6.0 Moved from media.php to load.php. * * @link https://www.php.net/manual/en/function.ini-get.php * @link https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes * * @param string $value A (PHP ini) byte value, either shorthand or ordinary. * @return int An integer byte value. */ function wp_convert_hr_to_bytes( $value ) { $value = strtolower( trim( $value ) ); $bytes = (int) $value; if ( false !== strpos( $value, 'g' ) ) { $bytes *= GB_IN_BYTES; } elseif ( false !== strpos( $value, 'm' ) ) { $bytes *= MB_IN_BYTES;
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |