1--TEST-- 2Test Blowfish crypt() does not fall back to DES when rounds are not specified, 3or Blowfish is not available. 4--FILE-- 5<?php 6$crypt = crypt(b'U*U', b'$2a$CCCCCCCCCCCCCCCCCCCCC.E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW'); 7if ($crypt==='*0') { 8 echo "OK\n"; 9} else { 10 echo "Not OK\n"; 11} 12?> 13--EXPECT-- 14OK 15