Use proc_open() instead of exec() to read 'p4 integrated'.
I THINK
that this will reduce the memory footprint by allowing each line of
output to be discarded as it's processed, which might allow this
function to handle larger projects without hitting PHP's memory limits.