1--TEST--
2Test BCRYPT with invalid cost
3--FILE--
4<?php
5var_dump(crypt("test", "$2a$4$1234567891234567891234567"));
6var_dump(crypt("test", "$2a$00$1234567891234567891234567"));
7var_dump(crypt("test", "$2a$01$1234567891234567891234567"));
8var_dump(crypt("test", "$2a$02$1234567891234567891234567"));
9var_dump(crypt("test", "$2a$03$1234567891234567891234567"));
10var_dump(crypt("test", "$2a$32$1234567891234567891234567"));
11var_dump(crypt("test", "$2a$40$1234567891234567891234567"));
12?>
13--EXPECTF--
14string(2) "*0"
15string(2) "*0"
16string(2) "*0"
17string(2) "*0"
18string(2) "*0"
19string(2) "*0"
20string(2) "*0"
21