Vyplnenie polí v PHP
Dané pole:
<?php
$arr = ['a', 'b', 'c'];
?>
Vytvorte z neho nasledujúce pole:
<?php
['a', 'b', 'c', '-', '-', '-']
?>
Vyplňte pole 10-ti písmenami 'x'.
Dané pole:
<?php
$arr = ['a', 'b', 'c'];
?>
Vytvorte z neho nasledujúce pole:
<?php
['a', 'b', 'c', '-', '-', '-']
?>
Vyplňte pole 10-ti písmenami 'x'.