bool2str
Posted: Tue Jul 04, 2006 12:57 pm
just wondering if there is a standard function that does this:
Code: Select all
function bool2str($bool) {
return $bool ? 'true' : 'false';
}