yiisoft/yii2 — pull request #4085 by makroxyz (2014-06-27 08:38:46+00:00)
Title: Wrong typecast for boolean value

return (boolean)"false" always returns true.
filter_var($value, FILTER_VALIDATE_BOOLEAN) returns right cast