summaryrefslogtreecommitdiff
path: root/php/src/php7/Connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'php/src/php7/Connection.cpp')
-rw-r--r--php/src/php7/Connection.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/php/src/php7/Connection.cpp b/php/src/php7/Connection.cpp
index 4c67992750b..458c7c399fb 100644
--- a/php/src/php7/Connection.cpp
+++ b/php/src/php7/Connection.cpp
@@ -21,7 +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;