Старт переноса showinf_pers(); в класс (fuck!_)

This commit is contained in:
lopar 2020-07-04 19:29:33 +03:00
parent 2f1d2f5178
commit 3c4afdf766

View File

@ -49,6 +49,7 @@ class User
foreach ($dressed_items as $key=>$value) {
//$dressed_items_array[$dressed_items['dressed_slot']][$key] = $value;
//$dressed_items_object[$dressed_items['dressed_slot']]->$key = $value;
$dressed_items_array[$dressed_items->dressed_slot][$key] = $dressed_items->$value;
}
echo <<<USERINFO
@ -74,7 +75,7 @@ USERINFO;
if (isset($dressed_items_object[4])) {
echo "!На пузе — " .$dressed_items_array[4]->name.PHP_EOL;
}
//var_dump($dressed_items_array).PHP_EOL;
var_dump($dressed_items_array).PHP_EOL;
//var_dump($dressed_items_object).PHP_EOL;
echo "<p>"; var_dump($dressed_items).PHP_EOL;
}