This website works better with JavaScript.
Home
Help
Register
Sign In
xcache
/
xcache
Watch
1
Star
0
Fork
0
Code
Releases
44
Activity
Browse Source
sample: remove \ from namespace sample
master
Xuefer
5 years ago
parent
b1c2e3462d
commit
c3ed03701b
1 changed files
with
3 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-6
devel/sample.cpp.php
+ 3
- 6
devel/sample.cpp.php
View File
@ -17,9 +17,6 @@
#if PHP_VERSION >= 530
namespace
ns
;
#define _Exception \Exception
#else
#define _Exception Exception
#endif
abstract
class
ClassName
@ -181,10 +178,10 @@ abstract class ClassName
#if PHP_VERSION >= 500
try
{
throw
new
_
Exception
();
new
_
Exception
();
throw
new
Exception
();
new
Exception
();
}
catch
(
_
Exception
$e
)
{
catch
(
Exception
$e
)
{
}
#endif
Write
Preview
Loading…
Cancel
Save