diff options
| author | Milo Gilad <milogaccnts@gmail.com> | 2017-08-25 10:18:31 -0400 | 
|---|---|---|
| committer | Milo Gilad <milogaccnts@gmail.com> | 2017-08-25 10:18:31 -0400 | 
| commit | a6c3a64a4c897a1f7e7acfbfe6318866317770ad (patch) | |
| tree | 28b0d35aaf2cdc3e968e182f1de4d5c5e596a970 /php.html.markdown | |
| parent | 1abae4b25de43e05df3ba225986997bc72eb3f8a (diff) | |
| parent | bce21489d8d7e3a3f3d4ede2154dba082647296e (diff) | |
Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
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) { | 
