If instead of $ a you write a password in the string 'admsh1216hs' and compare, it will work, but after reading from the file, it doesn’t want to compare, is it a bug? The file is being read, there are read permissions.
$hello = 'admsahra1216hs'; $a = file_get_contents('content/pss.txt'); echo $a; if (password_verify($hello, $a)) { echo "True<br>"; } else { echo "err"; }
admsh1216hsvsadmsh1216hs\n- E_p$b === $hello //true? - E_p