<?php declare(strict_types = 1); $data = ['a', 'b', 'c']; $multiplicator = 3; $multipliedData = array_merge(...array_fill(0, $multiplicator, $data)); var_export($multipliedData);
You have javascript disabled. You will not be able to edit any code.