Skip to content

Commit 9666907

Browse files
committed
Document that you can't pass empty strings to console options
1 parent 9576bc1 commit 9666907

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

console/input.rst

+4
Original file line numberDiff line numberDiff line change
@@ -203,3 +203,7 @@ You can combine ``VALUE_IS_ARRAY`` with ``VALUE_REQUIRED`` or
203203
when the option was used without a value (``command --language``) or when
204204
it wasn't used at all (``command``). In both cases, the value retrieved for
205205
the option will be ``null``.
206+
207+
Similarly, due to a PHP limitation, there is no way to pass an empty string
208+
as the value of an option. In ``command --prefix`` and ``command --prefix=''``
209+
cases, the value of the ``prefix`` option will be ``null``.

0 commit comments

Comments
 (0)