You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-6
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,22 @@
1
1
Encapsulated and type-safe user input.
2
-
====================================
2
+
======================================
3
3
4
4
By default, PHP stores all user input in global arrays (`$_GET`, `$_POST`, and `$_FILES`) available for reading and _modification_ in any code, including third party libraries.
5
5
6
6
This library wraps user input in objects that promote encapsulation, allowing functions to be
7
7
passed only the user input they require, rather than having unmitigated read/write access to everything.
8
8
9
-
Type-safe functions allow more predictable functionality, such as `$input->getFileUpload("photo")` and `$input->getDateTime("date-of-birth")`.
9
+
Type-safe functions allow more predictable functionality, such as `$input->getFileUpload("photo")`, `$input->getDateTime("date-of-birth")`, and `$input->getMultipleString("pizza-topping")`.
0 commit comments