mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 14:17:01 +02:00
Replaced most each() calls with foreach() in preparation to support php 8
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@ -47,7 +47,7 @@ class SQLite {
|
||||
|
||||
$R = $s->fetchAll();
|
||||
|
||||
while(list ($k, $v) = each($R)){
|
||||
foreach($R as $k => $v) {
|
||||
$data[$i] = $v;
|
||||
$i++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user