a php pipe implementation as pseudo pipeline/process collection/process batch