Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP error_reporting calculator

I'm looking for a tool to help me with analyzing and setting error_reporting levels in PHP.

I'd like it to have the following features:

  • Paste a numeric error_reporting() value and see all the single error reporting bits that are set in it
  • A list of all possible error levels with checkboxes. Checking them generates the PHP code to set it.
  • (optional) Select the PHP versions the generated PHP code must run under and generate the code that works for all of them. Important when setting e.g. E_DEPRECATED that exists from 5.3 on, but not in 5.2
  • (optional) Web application I can run in my browser

Does such a tool exist? Where?

like image 735
cweiske Avatar asked Nov 04 '11 10:11

cweiske


1 Answers

This tool has some of the features you want:

http://www.bx.com.au/tools/ultimate-php-error-reporting-wizard

like image 131
Joseph Avatar answered Sep 24 '22 03:09

Joseph