mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 00:37:42 +02:00
[ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
This commit is contained in:
@@ -112,7 +112,7 @@ class transfer
|
||||
$dir = explode('/', $dir);
|
||||
$dirs = '';
|
||||
|
||||
for ($i = 0, $total = sizeof($dir); $i < $total; $i++)
|
||||
for ($i = 0, $total = count($dir); $i < $total; $i++)
|
||||
{
|
||||
$result = true;
|
||||
|
||||
|
Reference in New Issue
Block a user