Ive never used the sort function that much and need a hand here.
I have this weird looking array:
array (size=1)
'MostErrors' =>
array (size=2)
2048 =>
array (size=1)
'Declaration of ADODB_mysqli::MetaIndexes() should be compatible with ADOConnection::MetaIndexes($table, $primary = false, $owner = false)' =>
array (size=1)
'Count' => int 5
8 =>
array (size=4)
'Undefined index: VersionKey' =>
array (size=1)
'Count' => int 3
'Undefined index: PluginBestseller' =>
array (size=1)
'Count' => int 3
'Undefined index: PluginLastPurchased' =>
array (size=1)
'Count' => int 3
'Undefined index: PluginLastAdded' =>
array (size=1)
'Count' => int 3
How do I Sort it correctly, that the Error with the highest count is at the top?
8, 2048 are the constants of PHP E_WARNING,E_ERROR,.. I want to have statistics which error/warning apprear the most
Ive tried usort and uasort, but I can't use echo in the callbacks .. why ever, I cannot work like that..