Add lazy sequence in PHP