Re: Scary note for gettype() in docs
| From: | Markus Fischer | Date: | Mon, 01 Mar 2010 22:23:58 +0000 |
| Subject: | Re: Scary note for gettype() in docs | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47077@lists.php.net to get a copy of this message | ||
On 01.03.2010 21:35, Stan Vassilev wrote:
> The gettype() documentation warns people that the returned string is "subject to
> change". Why is there a function that's subject to change in the API?
Probably because of the unicode stuff, might suddenly return "unicode"
(still true? don't know) or "binary" what was "string" before .. but
this is untested theory right now, but that's the kind of scenario they
mean here.
HTH