1
0
Fork 0

sample: remove \ from namespace sample

This commit is contained in:
Xuefer 2015-06-25 12:15:04 +08:00
parent b1c2e3462d
commit c3ed03701b
1 changed files with 3 additions and 6 deletions

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