Re: cvs: php-src /ext/standard type.c

From: Date: Mon, 25 Sep 2006 05:06:46 +0000
Subject: Re: cvs: php-src /ext/standard type.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-40692@lists.php.net to get a copy of this message
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 */


« previous php.cvs (#40692) next »