• ###### Yokkecommented on "esreveR" php solution

You're a genius I haven't found the solution when I saw yours it was clear as hell thank sir or mame !

• ###### DimosMitelcommented on "Reversed sequence " php solution

Sorry I thought that we need to check \$n first.

• ###### esurovcommented on "Reversed sequence " php solution

The Kata definition is: `Build a function that returns an array of integers from n to 1 where n>0.`

• ###### DimosMitelcommented on "Reversed sequence " php solution

You need to check first if \$n is greater than 0

• ###### lbvf50mobilecommented on "Measuring Average Speed" php solution

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

• ###### Rishat Nurievcommented on "Easy Line" php solution

Could someone explain what's the logic has been used here?

• ###### xslyherx123commented on "Is the string uppercase?" php solution

Thanks, i'm overcompensating :)

• ###### esurovcommented on "Is the string uppercase?" php solution

parentheses are not required here

• ###### Dziennycommented on "Resistor Color Codes" php solution

It is not a double array. It is `array[key]` construct, where the array content is `'silver' => 10, 'gold' => 5, null => 20` and the key that is accessed is the result of `@\$bands[3]`.

• ###### ejuhjavcommented on "Grasshopper - Summation" php solution

Based on the older comments on the discussion chain, it sounds like the test cases didn't originally match with the kata description (i.e. the random tests could test the solution with parameter value 0).

• ###### KyleTripp296commented on "Grasshopper - Summation" php solution

Why start the range at 0?

• ###### jmerrillcommented on "Find the stray number" php solution

Must have gotten lucky is the 2 test cases checked against (50/50 in this case);
min() is just as likely. Still possible to use both of them together for a one-liner ternary though to be more complete.

• ###### esurovcommented on "Find the stray number" php solution

How does this one work?

+1

• ###### digitalecommented on "Find out whether the shape is a cube" php solution

Good job, Man!