diff options
author | HairyFotr <hairyfotr@gmail.com> | 2017-08-23 10:14:39 +0200 |
---|---|---|
committer | HairyFotr <hairyfotr@gmail.com> | 2017-08-23 10:14:39 +0200 |
commit | 985d23a52b76593a120adff5381c2df3a80fe298 (patch) | |
tree | 0eeec5a7b13a110e18f319d1fe1c4568b68385a7 /php.html.markdown | |
parent | 9c5a67ca0f3c989ef31141f83d64fba10b93b059 (diff) |
Fix a bunch of typos
Diffstat (limited to 'php.html.markdown')
-rw-r--r-- | php.html.markdown | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/php.html.markdown b/php.html.markdown index ac9b45a8..f82cea7d 100644 --- a/php.html.markdown +++ b/php.html.markdown @@ -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) { |