Replacing it with just that would be a bad idea, since (see upthread, where the code's posted) it also verifies that its argument is an integer, erroring if it's not. Some code out there might be relying on that functionality, and hell, type coercion might even do something crazy without those checks, turning erroring-bugs into data-corrupting bugs.