Skip to content

Commit e0b4771

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 c349f5d commit e0b4771

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
@@ -499,7 +499,7 @@ function ini_alter(string $option, string|int|float|bool|null $value): string|fa
499499

500500
function ini_restore(string $option): void {}
501501

502-
function ini_bytes(string $shorthand): int {}
502+
function ini_parse_quantity(string $shorthand): int {}
503503

504504
/** @refcount 1 */
505505
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)