/**
* Checks a diff for validity.
*
* This is here only for debugging purposes.
*/ function_check($from_lines, $to_lines) { if(serialize($from_lines) != serialize($this->getOriginal())){ trigger_error("Reconstructed original does not match", E_USER_ERROR); } if(serialize($to_lines) != serialize($this->getFinal())){ trigger_error("Reconstructed final does not match", E_USER_ERROR); }