|
@@ -166,6 +166,8 @@ class V {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
break;
|
|
break;
|
|
|
|
|
+ case 'bool':
|
|
|
|
|
+ case 'boolean': return (bool)$from;
|
|
|
default:
|
|
default:
|
|
|
$fun = 'func_type_convert_'.$type;
|
|
$fun = 'func_type_convert_'.$type;
|
|
|
if (function_exists($fun)) {
|
|
if (function_exists($fun)) {
|