index 37198f0cd803fc3545b7b1b9855b1c9587c131e8..d4bdfc764504a331cc2505da985ac5f296f6370c 100644 (file)
function setDumpFunc($callback)
{
- if ($callback == NULL || is_callable($callback))
+ if ($callback === NULL || is_callable($callback))
{
$this->dumpFn_ = $callback;
}
}
$node = $this->nodes_[$node_id];
- if ($this->dumpFn_ != NULL)
+ if ($this->dumpFn_ !== NULL)
{
$this->dump_ .= $prefix . $infix . call_user_func($this->dumpFn_, $node) . "\n";
}
}
}
-?>
\ No newline at end of file
+?>