mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 12:07:03 +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:
@ -53,7 +53,7 @@ class MySQL {
|
||||
|
||||
$R = $s->fetchAll(PDO::FETCH_ASSOC);
|
||||
|
||||
while(list ($k, $v) = each($R)){
|
||||
foreach($R as $k => $v) {
|
||||
$data[$i] = $v;
|
||||
$i++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user