Voting

: max(two, nine)?
(Example: nine)

The Note You're Voting On

Anonymous
11 years ago
A misspell in v2.0.
:-)

Hack v2.1

<?php

if( ! function_exists('boolval'))
{
/**
* Get the boolean value of a variable
*
* @param mixed The scalar value being converted to a boolean.
* @return boolean The boolean value of var.
*/
function boolval($var)
{
return !!
$var;
}
}

?>

<< Back to user notes page

To Top