The new bug fixing release 0.3.1 of PHP Crypto has just been released. It fixes segfault on PHP 5 in setting KDF key length and PBKDF2 iterations.