As pointed out in https://github.com/azdanov/php-interview-exercises/issues/47, this exercise includes a wrong example.
I fixed the value for that and removed one of the provided implementations of the exercise as it doesn't pass the tests with the right value.
As pointed out in https://github.com/azdanov/php-interview-exercises/issues/47, this exercise includes a wrong example. I fixed the value for that and removed one of the provided implementations of the exercise as it doesn't pass the tests with the right value.