Ad
  • Custom User Avatar

    Thanks for your reply. Sorry for that. It is my fault that I missed this point.

  • Custom User Avatar

    Hi, this Kata has bug in it's TestCase for PHP lang. Please check my recent comment, related to this Kata

  • Custom User Avatar

    This Kata has errors in the source code for PHP TestCase!
    If you look there, you will find that php shows "PHP Warning: A non-numeric value encountered in <PATH_TO_FILE> on line " when it executes this line of code:
    $arWords[$i-1]+=' ';
    Due to this problem, in expected result string TestCase returns zeros instead of words!
    For width=100 should be the following:
    0 0 0 0 0 0 0 elit. Vestibulum sagittis dolor mauris, at
    0 0 tempor eget. In quis rhoncus nunc, at aliquet orci. Fusce at dolor sit amet felis
    0 0 0 0 imperdiet tellus. Nulla eu vestibulum urna. Vivamus tincidunt suscipit
    0 0 0 0 volutpat ac. Maecenas sit amet lacinia arcu, non dictum justo. Donec sed
    0 vel risus faucibus euismod. Suspendisse rhoncus rhoncus felis at fermentum. Donec lorem magna,
    ultricies a nunc sit amet, blandit fringilla nunc. In vestibulum velit ac felis rhoncus
    pellentesque. Mauris at tellus enim. Aliquam eleifend tempus dapibus. Pellentesque commodo, nisi sit
    amet hendrerit fringilla, ante odio porta lacus, ut elementum justo nulla et dolor.

    That is why so many users do have problems when they try to accomplish this Kata!

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Thanks for nice Kata!