8000 Update introduction.rst · symfony/symfony-docs@c1981d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit c1981d5

Browse files
zeggelweaverryan
authored andcommitted
Update introduction.rst
Changed $_FILE to $_FILES
1 parent 84e7808 commit c1981d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/http_foundation/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The HttpFoundation Component
1010
specification.
1111

1212
In PHP, the request is represented by some global variables (``$_GET``,
13-
``$_POST``, ``$_FILE``, ``$_COOKIE``, ``$_SESSION``, ...) and the response is
13+
``$_POST``, ``$_FILES``, ``$_COOKIE``, ``$_SESSION``, ...) and the response is
1414
generated by some functions (``echo``, ``header``, ``setcookie``, ...).
1515

1616
The Symfony2 HttpFoundation component replaces these default PHP global
@@ -61,7 +61,7 @@ can be accessed via several public properties:
6161

6262
* ``attributes``: no equivalent - used by your app to store other data (see :ref:`below<component-foundation-attributes>`)
6363

64-
* ``files``: equivalent of ``$_FILE``;
64+
* ``files``: equivalent of ``$_FILES``;
6565

6666
* ``server``: equivalent of ``$_SERVER``;
6767

0 commit comments

Comments
 (0)
0