mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 21:52:31 +03: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