1--TEST-- 2Test Blowfish crypt() falls 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===b'$2SHYF.wPGyfE') { 8 echo "OK\n"; 9} else { 10 echo "Not OK\n"; 11} 12?> 13--EXPECT-- 14OK 15