<?php declare(strict_types=1); function vigenere(array $arr){ $output = "<table>\n"; // iterate over the array foreach($arr as $letter) { // Create output row $output .= '<tr><td>'.implode('</td><td>',$arr).'</td></tr>'.PHP_EOL; // rotate the array for the next row $arr[] = array_shift($arr); } $output .= '</table>'; return $output; } echo vigenere(range("A","Z"));
You have javascript disabled. You will not be able to edit any code.
This script was stopped while abusing our resources