Re: Scary note for gettype() in docs

From: Date: Mon, 01 Mar 2010 22:27:17 +0000
Subject: Re: Scary note for gettype() in docs
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-47079@lists.php.net to get a copy of this message
On 03/01/2010 11:35 PM, Stan Vassilev wrote: > > Hi, > > 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? Because life is complicated. Because gettype("test") returns "string" in 5.x and "unicode" in 6.0. What exactly are you trying to fix? And what exactly are you proposing? -- Wbr, Antony Dovgal --- http://pinba.org - realtime statistics for PHP

« previous php.internals (#47079) next »