cleanup (use zend_string* instead of char*)