Bcrypt in Laminas

Code
<?php

use Laminas\Crypt\Password\Bcrypt;
use 
Laminas\Math\Rand;

$crypt = new Bcrypt([
    
// "salt" and "setSalt" support is deprecated for PHP 7
    
'cost' => 10,
]);
$str 'Budgies';
// salt will be generated internally
$hash $crypt->create($str);
$isValid $crypt->verify($str$hash);

dump($hash$isValid);
Result
^ "$2y$10$h9NM13H/rUIEmoQHSzV4jeHk/bTwu7eei.HV8A1jUsTSEr1iGXhWm"

^ true
Used Versions
PHP 8.0, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8