functional php : fix argument order