From 9666907d04747de7cc8a1021a1e06b52a9442a67 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Sat, 14 Jan 2017 18:01:45 +0100 Subject: [PATCH] Document that you can't pass empty strings to console options --- console/input.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/console/input.rst b/console/input.rst index ea6cd477d9e..a1a5cad6c15 100644 --- a/console/input.rst +++ b/console/input.rst @@ -203,3 +203,7 @@ You can combine ``VALUE_IS_ARRAY`` with ``VALUE_REQUIRED`` or when the option was used without a value (``command --language``) or when it wasn't used at all (``command``). In both cases, the value retrieved for the option will be ``null``. + + Similarly, due to a PHP limitation, there is no way to pass an empty string + as the value of an option. In ``command --prefix`` and ``command --prefix=''`` + cases, the value of the ``prefix`` option will be ``null``.