Pergunta de entrevista da empresa QBurst

Print below pattern using PHP 2 2 4 2 4 6 2 4 6 8 2 4 6 8 10