Page 1 of 1

bool2str

Posted: Tue Jul 04, 2006 12:57 pm
by Ollie Saunders
just wondering if there is a standard function that does this:

Code: Select all

function bool2str($bool) {
return $bool ? 'true' : 'false';
}

Posted: Tue Jul 04, 2006 1:24 pm
by feyd

Posted: Tue Jul 04, 2006 1:26 pm
by Ollie Saunders
thanks