Possible Duplicate:
How to Convert Boolean to String
I think that asking this might be kind of silly but I'm still wondering whether there is built-in way to return false or true as they way they look instead of 0 or 1, well actually this code even doesn't write 0 but 1:
<?php
$array = array(1,2,3);
echo (bool) $array;
?>
So I want this code to write "true" or "false" instead of numeric values. I know I can build a function but my curiosity likes to learn a built-in way if there is any.