Run Code
Browser not compatible.
<?php
$data=array(); for($i=0;$i<=10;$i++) { $data[$i]=$i; } foreach($data as $element) { echo "$element"; }
?>