<?php
$items = glob('./*');
for ($i = 0; $i < count($items); $i++) {
if (is_dir($items[$i])) {
$add = glob($items[$i] . '/*');
$items = array_merge($items, $add);
}
}
echo $items;
Abusive script
This script was stopped while abusing our resources
- Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.31, 7.4.0 - 7.4.25, 8.0.0 - 8.0.12
Process exited with code 137.- Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.37, 5.6.0 - 5.6.28
- Notice: Array to string conversion in /in/eCFc6 on line 11
Array
- Output for 4.3.0 - 4.3.6, 4.3.9 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
- Array
- Output for 4.3.7 - 4.3.8
preferences:
244.61 ms | 401 KiB | 367 Q