fix bugs

Fix bug the function of class can be checked.
Fix bug the file encrypt with zend optimizer.All of after it was the
same errors informations.There is none function can clear the message
returned by error_get_last().