In Eclipse writing Java, it’s easy to suppress warnings on some scopes, by annotating a method or variable within the IDE.
Is it possible to suppress warnings at scopes while writing PHP within Zend Studio 7.0?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not that I know of, but in PHP you can use the Error Control Operator to suppress error messages. Mind the Warning though. This won’t disable any error annotations given by Zend Studio itself. Which annotations are shown in general can be configured in Window | Preferences | PHP | Editor | Mark Occurences.
Java annotations like @SuppressWarnings don’t work in Zend Studio or PHP because PHP does not know the concept of Annotations like Java implements them.