21
21
* <b>FALSE</b> outputs lowercase hexits.
22
22
* </p>
23
23
* @return string a string containing the calculated message digest as lowercase hexits
24
- * unless <i>raw_output </i> is set to true in which case the raw
24
+ * unless <i>binary </i> is set to true in which case the raw
25
25
* binary representation of the message digest is returned.
26
26
*/
27
27
#[Pure]
@@ -53,7 +53,7 @@ function hash_equals(string $known_string, string $user_string): bool {}
53
53
* <b>FALSE</b> outputs lowercase hexits.
54
54
* </p>
55
55
* @return string|false a string containing the calculated message digest as lowercase hexits
56
- * unless <i>raw_output </i> is set to true in which case the raw
56
+ * unless <i>binary </i> is set to true in which case the raw
57
57
* binary representation of the message digest is returned.
58
58
*/
59
59
#[Pure]
@@ -78,7 +78,7 @@ function hash_file(string $algo, string $filename, bool $binary = false, #[PhpSt
78
78
* <b>FALSE</b> outputs lowercase hexits.
79
79
* </p>
80
80
* @return string a string containing the calculated message digest as lowercase hexits
81
- * unless <i>raw_output </i> is set to true in which case the raw
81
+ * unless <i>binary </i> is set to true in which case the raw
82
82
* binary representation of the message digest is returned.
83
83
*/
84
84
#[Pure]
@@ -103,7 +103,7 @@ function hash_hmac(string $algo, string $data, string $key, bool $binary = false
103
103
* <b>FALSE</b> outputs lowercase hexits.
104
104
* </p>
105
105
* @return string|false a string containing the calculated message digest as lowercase hexits
106
- * unless <i>raw_output </i> is set to true in which case the raw
106
+ * unless <i>binary </i> is set to true in which case the raw
107
107
* binary representation of the message digest is returned.
108
108
*/
109
109
#[Pure]
@@ -196,7 +196,7 @@ function hash_update_file(#[LanguageLevelTypeAware(["7.2" => "HashContext"], def
196
196
* <b>FALSE</b> outputs lowercase hexits.
197
197
* </p>
198
198
* @return string a string containing the calculated message digest as lowercase hexits
199
- * unless <i>raw_output </i> is set to true in which case the raw
199
+ * unless <i>binary </i> is set to true in which case the raw
200
200
* binary representation of the message digest is returned.
201
201
*/
202
202
function hash_final (#[LanguageLevelTypeAware(["7.2 " => "HashContext " ], default: "resource " )] $ context , bool $ binary = false ): string {}
@@ -273,8 +273,8 @@ function hash_hmac_algos(): array {}
273
273
* The number of internal iterations to perform for the derivation.
274
274
* </p>
275
275
* @param int $length [optional] <p>
276
- * The length of the output string. If raw_output is TRUE this corresponds to the byte-length of the derived key,
277
- * if raw_output is FALSE this corresponds to twice the byte-length of the derived key (as every byte of the key is returned as two hexits). <br/>
276
+ * The length of the output string. If binary is TRUE this corresponds to the byte-length of the derived key,
277
+ * if binary is FALSE this corresponds to twice the byte-length of the derived key (as every byte of the key is returned as two hexits). <br/>
278
278
* If 0 is passed, the entire output of the supplied algorithm is used.
279
279
* </p>
280
280
* @param bool $binary [optional] <p>
@@ -284,7 +284,7 @@ function hash_hmac_algos(): array {}
284
284
* Additional options. This parameter was added for PHP 8.1 only.
285
285
* </p>
286
286
* @return string a string containing the derived key as lowercase hexits unless
287
- * <i>raw_output </i> is set to <b>TRUE</b> in which case the raw
287
+ * <i>binary </i> is set to <b>TRUE</b> in which case the raw
288
288
* binary representation of the derived key is returned.
289
289
* @since 5.5
290
290
*/
0 commit comments