Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
You're right, sorry. I had put
>++.
by mistake at the end. 🤦This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I must've forgot to paste the first part of it, which was a class declaration. That's why the stray close brace is there. I'm new, so I thought we were supposed to be using classes. Now whenever I test it, it doesn't work, and the name is blank. It works fine in php sandbox, and when I change one of the example tests, the actual shows up correctly, and obviously is still wrong because I changed the test expected output.
Ok. In that case, you may want to rephrase the description a little bit, because it clearly states In this Kata, we are going to reverse a string while maintaining the spaces (if any) in their original place. Also, why are the spaces in random places (edo cruo and s rawe docevoli)? This doesn't seem all too organized and more random. If you mean to keep the same indices of the spaces and other letters, but reversed, then I would suggest rewording the description. Thank you.
expected vs actual in PHP is messed up:
This comment is hidden because it contains spoiler information about the solution
Same error
It's rename to testBasic, and still doesn't work. It still is looking for hello.
Call to undefined function hello()
in PHP. Stacktraced to ExampleTest.php:5.