SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
263 B

<?php
function addChildren($title) {
global $depth;
$depth++;
for ($i=1; $i<=5; $i++) {
$t = $title.'.'.$i;
echo "$t\n";
if ($depth<3) {
addChildren($t);
}
}
$depth--;
}
addChildren("node");