-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
Description
Hello,
is there any way how to compare collections strictly in the intersect() method?
The problem is that the in_array function used at https://github.com/DusanKasan/Knapsack/blob/master/src/collection_functions.php#L1301 causes the "Nesting level too deep - recursive dependency?" error when using a Collection of big objects.
I have been thinking about sending a PR with the third param set to true; however then I realised that it could be a big BC break for some users so I would like to ask you if you have some workaround suggestion instead, pelase.
Thanks!
issei-m