PHP
Code
# Code
```php []
class Solution {

    /**
     * @param Integer[] $nums
     * @return String
     */
    function triangleType($nums) {
        if (max($nums) >= array_sum($nums) - max($nums)){
            return "none";
        }
        
        if ($nums[0] === $nums[1] && $nums[1] === $nums[2]){
            return "equilateral";
        }

        if ($nums[0] === $nums[1] || $nums[1] === $nums[2] || $nums[2] === $nums[0]){
            return "isosceles";
        }

        return "scalene";
    }
}
```
['PHP']