mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
two typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166967 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
599fba0d5f
commit
6f8d6bea11
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<sect1 id="language.oop5.exceptions">
|
||||
<title>Exceptions</title>
|
||||
|
||||
|
@ -26,7 +26,7 @@ try {
|
|||
$error = 'Always throw this error';
|
||||
throw new Exception($error);
|
||||
|
||||
// code following an execption isn't executed.
|
||||
// code following an exception isn't executed.
|
||||
echo 'Never executed';
|
||||
}
|
||||
catch (Exception $e) {
|
||||
|
@ -39,7 +39,7 @@ catch (Exception $e) {
|
|||
</programlisting>
|
||||
</example>
|
||||
|
||||
<sect2 id="language.oop5.execptions.extending">
|
||||
<sect2 id="language.oop5.exceptions.extending">
|
||||
<title>Extending Exceptions</title>
|
||||
<para>
|
||||
A User defined Exception class can be defined by extending the built-in
|
||||
|
|
Loading…
Reference in a new issue