1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-07-31 20:10:49 +02:00

Fix a bunch of typos

This commit is contained in:
HairyFotr
2017-08-23 10:14:39 +02:00
parent 9c5a67ca0f
commit 985d23a52b
47 changed files with 95 additions and 95 deletions

View File

@@ -122,9 +122,9 @@ echo 'Multiple', 'Parameters', 'Valid'; // Returns 'MultipleParametersValid'
// followed by any number of letters, numbers, or underscores.
define("FOO", "something");
// access to a constant is possible by calling the choosen name without a $
// access to a constant is possible by calling the chosen name without a $
echo FOO; // Returns 'something'
echo 'This outputs ' . FOO; // Returns 'This ouputs something'
echo 'This outputs ' . FOO; // Returns 'This outputs something'
@@ -837,7 +837,7 @@ try {
// Handle exception
}
// When using try catch blocks in a namespaced enviroment use the following
// When using try catch blocks in a namespaced environment use the following
try {
// Do something
@@ -854,7 +854,7 @@ try {
$condition = true;
if ($condition) {
throw new MyException('Something just happend');
throw new MyException('Something just happened');
}
} catch (MyException $e) {