1--TEST--
2Test normal operation of password_verify)
3--FILE--
4<?php
5//-=-=-=-
6
7var_dump(password_verify(123, 123));
8
9var_dump(password_verify("foo", '$2a$07$usesomesillystringforsalt$'));
10
11var_dump(password_verify('rasmusler', '$2a$07$usesomesillystringfore2uDLvp1Ii2e./U9C8sBjqp8I90dH6hi'));
12
13var_dump(password_verify('rasmuslerdorf', '$2a$07$usesomesillystringfore2uDLvp1Ii2e./U9C8sBjqp8I90dH6hi'));
14echo "OK!";
15?>
16--EXPECT--
17bool(false)
18bool(false)
19bool(false)
20bool(true)
21OK!
22