Update Crap4j.php

Correct the threshold test between function and global