Skip to content

PHP Error Code Calculator

It happens surprisingly often that I need to convert the integer mask used for PHP error reporting back to what constants they match up with. Sure, I can go to the page listing PHP error constants. But I’m a geek. I like making tools. So this one is just a small bit of JavaScript that takes the error level constant and tells you what bits are on or off.




Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *