data === $data) { throw new ResultException( $node ); } else { search( $node->leftChild, $data ); search( $node->rightChild, $data ); } } ?>