If I am using a constant that is needed only in a method, is it best to declare the const within the method scope, or in the class scope? Is there better pe
Depends on if you want to use it throughout your class. The top declaration will be usable throughout your class whereas the other will only be available in MyMethod. You won't get any performance boost by doing it either way.