Add valgrind check to php tests