Skip to content

Commit 4db7dcb

Browse files
committed
Rename function to ini_parse_quantity( $shorthand )
Of all the naming suggestions so far this one seems to fit best with the purpose of the function.
1 parent 131313f commit 4db7dcb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ext/standard/basic_functions.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1971,8 +1971,8 @@ PHP_FUNCTION(highlight_string)
19711971
}
19721972
/* }}} */
19731973

1974-
/* {{{ Get a byte size from the ini byte size shorthand */
1975-
PHP_FUNCTION(ini_bytes)
1974+
/* {{{ Get interpreted size from the ini shorthand syntax */
1975+
PHP_FUNCTION(ini_parse_quantity)
19761976
{
19771977
char *shorthand;
19781978
size_t shorthand_len;

ext/standard/basic_functions.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ function ini_alter(string $option, string|int|float|bool|null $value): string|fa
488488

489489
function ini_restore(string $option): void {}
490490

491-
function ini_bytes(string $shorthand): int {}
491+
function ini_parse_quantity(string $shorthand): int {}
492492

493493
/** @refcount 1 */
494494
function set_include_path(string $include_path): string|false {}

ext/standard/basic_functions_arginfo.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)