Lussen en variabelen invoegen in PHP

Het invoegen van variabelen in strings is ook handig om te doen in lussen:

php<?php
  for ($i = 1; $i <= 5; $i++) {
    echo "xxx $i yyy";
  }
?>
Задание 1

Vereenvoudig de volgende code:

php<?php
  for ($i = 1; $i <= 10; $i++) {
    for ($j = 1; $j <= 10; $j++) {
      echo 'nums: ' . $i . ' ' . $j . '<br>';
    }
  }
?>