<?php $array_0 = ['foo']; $array_1 = ['bar']; for ($i = 0; $i <= 1; $i++) { print_r(${'array_' . $i}); // Here we "build" the variable name }
You have javascript disabled. You will not be able to edit any code.