yiisoft/yii2 — pull request #2586 by andy5 (2014-02-28 11:36:53+00:00)
Title: Treat integer indexed attributes as boolean attributes

Related to #2566

Just to avoid invalid html markup like:

```html

```

It's not supposed to encourage people to use ['readonly'] insteadof ['readonly' => true].