Friday, 16 August 2013

Is there any advantages of assigning (bool) false to a variable

Is there any advantages of assigning (bool) false to a variable

pThis is code from ADO DB. As you can see codefalse/code is assigned to a
variable code$false/code./p precode $false = false; if ($rows === false) {
return $false; } if (!class_exists($class)) { $db-gt;outp_throw(Unknown
class $class in GetActiveRecordsClass(),'GetActiveRecordsClass'); return
$false; } /code/pre pWhy do they do that?/p

No comments:

Post a Comment