>From the user point of view it might seem that 5.x "string" and 6.x "unicode" are all strings, whatever you call them. Still, I am sure there _is_ a background for the decision to distinguish between "string" and "unicode".
2 марта 2010 г. 1:27 пользователь Antony Dovgal <t...@daylessday.org> написал: > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- С уважением, Виктор -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php