New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
I have a PHP multiD array like array($arrayA, $arrayB, $arrayA, $arrayC, $arrayC, $arrayA...........)
ho can I get a resulting array which have distinct elements from this array and sorted with the more occurance first like...
array( $arrayA, $arrayB, $arrayC)
because array $arrayA was 3 tumes in first array so it comes first in resulting array.
0 Votes
3 AnswersHot today
Question
2 Votes
Commenting on lessons
0 Votes
Disabled close button?
0 Votes
ummmm...
0 Votes
Accessing null element
2 Votes
Phishing page
0 Votes