Update core.php

$var = true and false;
// $var = true;