Ticket #24 (fixed enhancement)
Consistency in coding style
- Created: 2010-05-26 08:05:43
- Reported by: Reines
- Assigned to: Reines
- Milestone: 1.4.0
- Component: code
- Priority: lowest
There are a few places which still use rather out-dated styles of coding, for example
while($bla = @each($array))
instead of
foreach ($array as $bla)
and
$d = dir('style');
while (($entry = $d->read()) !== false)
{
[...]
}
$d->close();
rather than
$entries = glob('style/*');
Having these all using consistent and more up-to-date methods would be nice, though far from critical.