1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/12479] Remove unused ini class and related function

PHPBB-12479
This commit is contained in:
Marc Alexander
2024-07-12 21:24:37 +02:00
parent 986b92f3b3
commit f835fba49e
2 changed files with 0 additions and 190 deletions

View File

@@ -19,21 +19,6 @@ if (!defined('IN_PHPBB'))
exit;
}
/**
* Casts a numeric string $input to an appropriate numeric type (i.e. integer or float)
*
* @param string $input A numeric string.
*
* @return int|float Integer $input if $input fits integer,
* float $input otherwise.
*
* @deprecated 3.2.10 (To be removed 4.0.0)
*/
function phpbb_to_numeric($input)
{
return ($input > PHP_INT_MAX) ? (float) $input : (int) $input;
}
/**
* Parse cfg file
* @param string $filename