Ad
  • Default User Avatar

    The kata expects the function to return a string of "Invalid input" when the input is invalid, not terminating the script entirely.

  • Custom User Avatar

    I code on PHP, i just don't understanding why it fails in logic section, it doesn't even saying why it fails it just saying "Invalid input" so i don't even getting where it fails, when i run every unit test in my ide everything work fine but when i attempt it fails for some reason, so plz take a look.