Fix mixed declarations and code
diff --git a/Lib/php/phprun.swg b/Lib/php/phprun.swg
index a1eeb3a..cad0f84 100644
--- a/Lib/php/phprun.swg
+++ b/Lib/php/phprun.swg
@@ -102,6 +102,7 @@
 
   {
     zend_object *obj;
+    swig_object_wrapper *value;
     if (Z_TYPE_P(z) == IS_OBJECT) {
       /* The PHP object is already initialised - this is the case when wrapping
        * the return value from a PHP constructor. */
@@ -111,7 +112,7 @@
       obj = ce->create_object(ce);
       ZVAL_OBJ(z, obj);
     }
-    swig_object_wrapper *value = php_fetch_object(obj);
+    value = php_fetch_object(obj);
     value->ptr = ptr;
     value->newobject = (newobject & 1);
     value->type = type;