Cast to string, see if this doesn't fail on PHP 5.2.