8 lines
120 B
PHP
8 lines
120 B
PHP
<?php
|
|
function booltostr($bool,$true='true',$false='false') {
|
|
if ($bool)
|
|
return($true);
|
|
else
|
|
return($false);
|
|
}
|
|
?>
|