Search code examples
phpnotice

How to locate php notices in a huge project?


I'am allways developing php stuff with error reporting and notices actived. But now i have to refactor a huge project and its produces a lot of php notice messages. This drives me nuts.

Is there an easy way to discover all the lines which will produce such a message in a single run? Maybe a cli tool?


Solution

  • You can try the PHPLint project for which there is an online demo. You can also download it.