Update type-cast.php

An array and object in example not equal with type casting