@@ -49,7 +49,7 @@ class V {
case 'word':
if (is_scalar($from)) {
$ret = $from;
- settype($ret, $type);
+ settype($ret, 'string');
$ret = trim($ret);
if (false !== ($pos = strpos($ret, ' '))) {
$ret = substr($ret, 0, $pos);