Home
last modified time | relevance | path

Searched refs:hash_equals (Results 1 – 6 of 6) sorted by relevance

/php-src/ext/hash/tests/
H A Dhash_equals.phpt2 Hash: hash_equals() test
18 fn() => hash_equals("same", "same"),
22 fn() => hash_equals("", "notempty"),
23 fn() => hash_equals("notempty", ""),
24 fn() => hash_equals("", ""),
25 fn() => hash_equals(123, "NaN"),
26 fn() => hash_equals("NaN", 123),
27 fn() => hash_equals(123, 123),
28 fn() => hash_equals(null, ""),
29 fn() => hash_equals(null, 123),
[all …]
H A Dsensitive_parameter.phpt6 var_dump(hash_equals('foo', null));
17 TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in %s:%d
19 #0 %s(%d): hash_equals(Object(SensitiveParameterValue), Object(SensitiveParameterValue))
/php-src/ext/hash/
H A Dhash.stub.php65 function hash_equals(#[\SensitiveParameter] string $known_string, #[\SensitiveParameter] string $us…
H A Dhash_arginfo.h143 ZEND_FUNCTION(hash_equals);
171 ZEND_FE(hash_equals, arginfo_hash_equals)
H A Dhash.c1114 PHP_FUNCTION(hash_equals) in PHP_FUNCTION() argument
/php-src/ext/sodium/tests/
H A Dcrypto_core_ristretto255.phpt96 var_dump(hash_equals($s, $s_minus));

Completed in 12 milliseconds