It'll work, you can take my word for it... http://www.php.net/manual/en/language.types.string.php#language.types.string.conversion truth be told it's not even necessary;  I just thought it might stop people from asking the question you just did.