For me `(int) $var` looks as ugly as `array (...` (notice space after `array`). I think a standard is what makes less confusion to the reader in a result.

That's why I went a way of developing own coding standard that checks as much stuff as can be checked to avoid common developer pitfalls.