helpers for phprunner