0
I want intersect two arrays without using functions . Will anyone please help me ? :(
The program should be in php
6 odpowiedzi
+ 8
"but you commented on my post *only because* I tagged other languages?"
SoloLearn search feature relies on tags when searching, imagine tomorrow somebody wants to search for PHP related threads and end up getting tonnes of irrelevant ones; simply because people take the importance of tags for granted.
If tags were used correctly though, the way Search feature works by indexing the tags is ideal, it is not as heavy as indexing the description or title (which are longer). But people like to have things as they please, and thanks to that, we have a weak Search feature in SoloLearn (ironic).
+ 4
Remember google is your friend:
https://code.sololearn.com/wksTHK6Q6WI3/?ref=app
Made using second answer from this page:
https://stackoverflow.com/questions/30133626/php-merging-arrays-with-for-loops-without-using-array-merge-function
And like Coffee☕Underrun stated, please use the appropriate tags for your question. As to not waste others time with question they cannot answer in the stated language and also be more likely to have someone with knowledge of that language look at it.
+ 4
The more general tags you use, the lesser your chances are to get a specific answer. It's common sense.
What do you mean by "intersecting" arrays though? Do you want to find similar elements of two arrays?
0
I am new here :) I thought mostly people use to tag all the languages to findout the answer asap , :) nd yeah sorry to say but you commented on my post only because I tagged other languages? 🤔
0
Thanks LynTon