Fixes from volunteers

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350953 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Andrey Gromov 2020-10-20 08:54:50 +00:00
parent f5acbfdba8
commit 01a7e4684e

View file

@ -70,7 +70,7 @@
<?php
$expected = crypt('12345', '$2a$07$usesomesillystringforsalt$');
$correct = crypt('12345', '$2a$07$usesomesillystringforsalt$');
$incorrect = crypt('apple', '$2a$07$usesomesillystringforsalt$');
$incorrect = crypt('apple', '$2a$07$usesomesillystringforsalt$');
var_dump(hash_equals($expected, $correct));
var_dump(hash_equals($expected, $incorrect));