Since [empty arrays always evaluates to `false`](http://php.net/manual/en/types.comparisons.php), these checks can be simplified. An example from [`Symfony\Component\Routing\Annotation\Route::setRequirements()`](https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/Routing/Annotation/Route.php#L110): ``` php // current check if (0 === count($this->methods)) { // ... } // proposed check if (!$this->methods) { // ... } ``` NOTE: I've found 54 exact matches for `0 === count(` at `2.7` branch.