You are viewing a single comment's thread. Return to all comments →
The provided code for PHP has a small bug that makes tests 16 and 17 fail. It needs to be modified to strip the newline character off the input, i.e.:
$magazine_temp = rtrim(fgets($handle)); ... $ransom_temp = rtrim(fgets($handle));
Seems like cookies are disabled on this browser, please enable them to open this website
Hash Tables: Ransom Note
You are viewing a single comment's thread. Return to all comments →
The provided code for PHP has a small bug that makes tests 16 and 17 fail. It needs to be modified to strip the newline character off the input, i.e.: