Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9666907

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

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

‎console/input.rst

Copy file name to clipboardExpand all lines: console/input.rst
+4Lines changed: 4 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.