Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit beecef6

Browse files
azjezznicolas-grekas
authored andcommitted
Fix the name of arguments for PHP 8
1 parent 4711976 commit beecef6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎bootstrap.php‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,20 @@ function sapi_windows_vt100_support($stream, $enable = null) { return p\Php72::s
3838
function stream_isatty($stream) { return p\Php72::stream_isatty($stream); }
3939
}
4040
if (!function_exists('utf8_encode')) {
41-
function utf8_encode($s) { return p\Php72::utf8_encode($s); }
41+
function utf8_encode($string) { return p\Php72::utf8_encode($string); }
4242
}
4343
if (!function_exists('utf8_decode')) {
44-
function utf8_decode($s) { return p\Php72::utf8_decode($s); }
44+
function utf8_decode($string) { return p\Php72::utf8_decode($string); }
4545
}
4646
if (!function_exists('spl_object_id')) {
47-
function spl_object_id($s) { return p\Php72::spl_object_id($s); }
47+
function spl_object_id($object) { return p\Php72::spl_object_id($object); }
4848
}
4949
if (!function_exists('mb_ord')) {
50-
function mb_ord($s, $enc = null) { return p\Php72::mb_ord($s, $enc); }
50+
function mb_ord($string, $encoding = null) { return p\Php72::mb_ord($string, $encoding); }
5151
}
5252
if (!function_exists('mb_chr')) {
53-
function mb_chr($code, $enc = null) { return p\Php72::mb_chr($code, $enc); }
53+
function mb_chr($codepoint, $encoding = null) { return p\Php72::mb_chr($codepoint, $encoding); }
5454
}
5555
if (!function_exists('mb_scrub')) {
56-
function mb_scrub($s, $enc = null) { $enc = null === $enc ? mb_internal_encoding() : $enc; return mb_convert_encoding($s, $enc, $enc); }
56+
function mb_scrub($string, $encoding = null) { $encoding = null === $encoding ? mb_internal_encoding() : $encoding; return mb_convert_encoding($string, $encoding, $encoding); }
5757
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /