Actually, the whole if() thing can be replaced by convert_to_text().
-Andrei On Sep 24, 2006, at 6:37 PM, Sara Golemon wrote:
+ } else if (!strcasecmp(new_type, "string")) { /* runtime string type */+ if (UG(unicode)) { + convert_to_unicode(*var); + } else { + convert_to_string(*var); + }+ } else if (!strcasecmp(new_type, "unicode")) { /* explicit unicode cast */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php