mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Update php.html.markdown
This commit is contained in:
parent
a03b400390
commit
ddb3c9eab5
@ -693,6 +693,11 @@ use My\Namespace as SomeOtherNamespace;
|
|||||||
|
|
||||||
$cls = new SomeOtherNamespace\MyClass();
|
$cls = new SomeOtherNamespace\MyClass();
|
||||||
|
|
||||||
|
/**********************
|
||||||
|
* Error Handling
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
// Simple error handling can be done with try catch block
|
// Simple error handling can be done with try catch block
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user