Categories
BEST PHP CODE

Force to write debugging messages in PhpUnit

If you found yourself trying to debug PhpUnit the following php line will relieve your frustration. This line will instantly output the message or variables values that you are trying to debug

fwrite(STDERR, "TEST");

Leave a Reply