Skip to content

Commit 3fdce9f

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Mark crypt()'s $string parameter as #[\SensitiveParameter] Prepare NEWS for PHP 8.2.0RC2
2 parents 06f713e + c77bbf6 commit 3fdce9f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ext/standard/basic_functions.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ function crc32(string $string): int {}
911911
/* crypt.c */
912912

913913
/** @refcount 1 */
914-
function crypt(string $string, string $salt): string {}
914+
function crypt(#[\SensitiveParameter] string $string, string $salt): string {}
915915

916916
/* datetime.c */
917917

ext/standard/basic_functions_arginfo.h

Lines changed: 3 additions & 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)