Added smart_string to avoid string duplicated

for now, if we want result a char * use smart_string, if zend_string
 use smart_str
Test push (previous push didn't send mail?)