1 There’s been some talk about PHP 5.5.0 over the past couple of months even though it is barely on the horizon.
2 So the next best compromise was to use casting where lossy casts could be avoided or throw errors.
3 So ensuring type safety is probably not the best pursuit in this matter.