1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/10931] Document that false is also returned if value is not well formed

PHPBB3-10931
This commit is contained in:
Andreas Fischer
2012-06-11 13:53:17 +02:00
parent 63b2e36492
commit 7501ea825a

View File

@@ -82,6 +82,7 @@ class phpbb_php_ini
*
* @param string $varname The configuration option name.
* @return bool|int False if configuration option does not exist,
* false if configuration option value is not numeric,
* the configuration option value (integer) otherwise.
*/
public function get_int($varname)
@@ -101,6 +102,7 @@ class phpbb_php_ini
*
* @param string $varname The configuration option name.
* @return bool|float False if configuration option does not exist,
* false if configuration option value is not numeric,
* the configuration option value (float) otherwise.
*/
public function get_float($varname)
@@ -121,6 +123,7 @@ class phpbb_php_ini
*
* @param string $varname The configuration option name.
* @return bool|int|float False if configuration option does not exist,
* false if configuration option value is not well-formed,
* the configuration option value otherwise.
*/
public function get_bytes($varname)