summaryrefslogtreecommitdiff
path: root/php/src/php5/Connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'php/src/php5/Connection.cpp')
-rw-r--r--php/src/php5/Connection.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/php/src/php5/Connection.cpp b/php/src/php5/Connection.cpp
index bdec7d1264b..9718c576cb9 100644
--- a/php/src/php5/Connection.cpp
+++ b/php/src/php5/Connection.cpp
@@ -21,8 +21,12 @@ ZEND_EXTERN_MODULE_GLOBALS(ice)
//
// Class entries represent the PHP class implementations we have registered.
//
-static zend_class_entry* connectionClassEntry = 0;
+namespace IcePHP
+{
+
+zend_class_entry* connectionClassEntry = 0;
+}
static zend_class_entry* connectionInfoClassEntry = 0;
static zend_class_entry* ipConnectionInfoClassEntry = 0;
static zend_class_entry* tcpConnectionInfoClassEntry = 0;