summaryrefslogtreecommitdiffhomepage
path: root/php.html.markdown
diff options
context:
space:
mode:
authorAndre Polykanine A.K.A. Menelion ElensĂșlĂ« <andre@oire.org>2017-08-24 01:41:51 +0300
committerGitHub <noreply@github.com>2017-08-24 01:41:51 +0300
commit2694c89c3322b730b5635960e893323aa6524114 (patch)
treee910f541ae5e55042990459d029404c148ba1051 /php.html.markdown
parent1058ecc7d4d966788e5d963caf9f8c27dd2ac330 (diff)
parent985d23a52b76593a120adff5381c2df3a80fe298 (diff)
Merge pull request #2807 from HairyFotr/typos
[all/en] Fix a bunch of typos
Diffstat (limited to 'php.html.markdown')
-rw-r--r--php.html.markdown8
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) {