typo in example (doc #62306)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326144 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2012-06-13 08:09:05 +00:00
parent c923fcd6d0
commit ec2f544a4c

View file

@ -48,7 +48,7 @@ function doStuff() {
try {
throw new InvalidArgumentException("You are doing it wrong!", 112);
} catch(Exception $e) {
throw new MyCustomException("Something happend", 911, $e);
throw new MyCustomException("Something happened", 911, $e);
}
}
@ -66,7 +66,7 @@ try {
&example.outputs.similar;
<screen>
<![CDATA[
/home/bjori/ex.php:8 Something happend (911) [MyCustomException]
/home/bjori/ex.php:8 Something happened (911) [MyCustomException]
/home/bjori/ex.php:6 You are doing it wrong! (112) [InvalidArgumentException]
]]>
</screen>