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: exercises/caution-with-catches/problem/problem.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ function verify_password(string $password): bool;
11
11
12
12
For this exercise this function will always throw an exception but unfortunately the exception message contains the password in plain text!
13
13
14
-
To pass this exercise you will need to call the `verify_password` function with the password provided, handle the exception and output `"Given password is invalid, please try again`.
14
+
To pass this exercise you will need to call the `verify_password` function with the password provided, handle the exception and output `"Given password is invalid, please try again"`.
15
15
16
16
PHP 8 allows you to handle the exception without capturing the exception itself which will ensure this message is not leaked further.
0 commit comments