--- Lib/php/phprun.swg 2011/03/12 01:38:27 12528 +++ Lib/php/phprun.swg 2011/05/24 03:59:35 12710 @@ -192,7 +192,7 @@ swig_object_wrapper *value; void *p; int type; - char *type_name; + const char *type_name; value = (swig_object_wrapper *) zend_list_find(z->value.lval, &type); if ( flags & SWIG_POINTER_DISOWN ) {