mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
Update php.html.markdown
This commit is contained in:
parent
0904a24f30
commit
a03b400390
@ -697,7 +697,7 @@ $cls = new SomeOtherNamespace\MyClass();
|
||||
|
||||
try {
|
||||
// Do something
|
||||
catch ( Exception $e) {
|
||||
} catch ( Exception $e) {
|
||||
// Handle exception
|
||||
}
|
||||
|
||||
@ -705,7 +705,7 @@ catch ( Exception $e) {
|
||||
|
||||
try {
|
||||
// Do something
|
||||
catch (\Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
// Handle exception
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user