I would like to block the debugging functions var_dump, print_r, etc... from being sent to the repo so that QA can go to things and not report errors like "There is a huge block of text on all pages!"
I tried regex (not a good idea ... presumably).
I also tried token_get_all , but for some reason, it returns T_STRING for each of the debugging functions, which I think will work, but it seems weird ...
Is there a third best way?
debugging php svn pre-commit-hook
Seanja
source share