3v4l.org

run code in 300+ PHP versions simultaneously
<?php $numberOfinstances = 3; $i = 1; $arr = array(); while ($i <= $numberOfinstances) { $arr[] = '../../../toolbox'.$i.'/importer/tokens.CC.csv'; $i++; } print_r($arr);
Output for 7.1.25 - 7.1.28, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.34, 8.2.0 - 8.2.30, 8.3.0 - 8.3.30, 8.4.1 - 8.4.18, 8.5.0 - 8.5.3
Array ( [0] => ../../../toolbox1/importer/tokens.CC.csv [1] => ../../../toolbox2/importer/tokens.CC.csv [2] => ../../../toolbox3/importer/tokens.CC.csv )

preferences:
100.23 ms | 1442 KiB | 4 Q