diff --git a/Input/ArgvInput.php b/Input/ArgvInput.php index e1e7ad238..675b9ef58 100644 --- a/Input/ArgvInput.php +++ b/Input/ArgvInput.php @@ -141,7 +141,7 @@ private function parseLongOption(string $token) $name = substr($token, 2); if (false !== $pos = strpos($name, '=')) { - if (0 === \strlen($value = substr($name, $pos + 1))) { + if ('' === $value = substr($name, $pos + 1)) { array_unshift($this->parsed, $value); } $this->addLongOption(substr($name, 0, $pos), $value);