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.
I keep forgetting this is a thing. Thank you coders for reminding me.
As per "best practice"... I'm not certain how PHP handles its symbol tables, but considering the new function we are making just calls another function and returns it... it seems like a better practice to just handle it as a namespace import... as that is pretty much all it is
I like it - but would this be considered best practice? Very clever indeed :)
JS fuck :)
Missing PHP example within description
I forgot the floor() try to re-submit test pass but I don't have the 'final submit'
Hi,
the javascript tests and the php are exactly the same.
You're right, the runner run only one testcase the
testMysteryFunction
with the same tests as the js, It's a kind ofDescribe(..)
. But I can make 5 sub-testcase.the server side test have 2 testcases (all the Test.assert, and 100 hundred random tests).
thanks. I going to check the others translated katas in php.
Hi,
your Php version looks not good, only one testcase?
Hello
Php version Submitted
Try to add some print and echo, but the it's break the test and it's failed with
Kumite was published with failed tests!
with 0 errors and 0 passeds.Thanks !
Approved, thanks!
Thanks for your review.
All your remarks are rights and I fixed them:
:/\t
highlight them )Again thank for spend some time.
I am ready to approve your translation but I would like you to do 2 small improvements:
Thanks for your help.
It's my first PHP approval. It caught me off guard that codewars has PHP now, which is awesome, but it still missing some crucial modules (e.g. the multibyte-string lib).
Also, thank you for submitting it.
Your solution is clearly better. I didn't known the ucwords instruction
I am sorry. it's my second translation.
thank you for approve it.
Aww... it's attributing my forked solution to you. Oh well.
Add the php translation
please accepts. thanks.
Loading more items...