PHP 二维数据去重

         $tj_recommend = [
            ['id' => 1, 'files_id' => 1],
            ['id' => 2, 'files_id' => 3],
            ['id' => 3, 'files_id' => 3],
            ['id' => 4, 'files_id' => 2],
            ['id' => 5, 'files_id' => 5],
            ['id' => 6, 'files_id' => 1],
            ['id' => 7, 'files_id' => 7],
            ['id' => 8, 'files_id' => 8],
            ['id' => 9, 'files_id' => 1]
        ];
        $arr = [];
        foreach($tj_recommend as $item){
            if(!in_array($item['files_id'], array_column($arr, 'files_id'))){
                $arr[] = $item;
            }
        }
        print_r($arr);exit;

36 thoughts on “PHP 二维数据去重”

  1. Been playing on Craybet for like a couple months and thought I’d throw out my experience since I haven’t seen much discussion about this place in this forum. I signed up after seeing an ad and signing up literally took two minutes. Starting deposit was $10 which is about what you’d expect. They threw in a sign-up bonus — 100% up to $500 plus 50 free spins on Sweet Bonanza. Playthrough requirements were 35x and that could be lower but I’ve dealt with worse.

    The game library is honestly pretty solid. There’s stuff from Pragmatic Play, NetEnt, plus Microgaming — so like Gates of Olympus, Gonzo’s Quest, the usual heavy hitters. Somewhere around 2000 games total if you count everything. The live dealer section is powered by Evolution which is smooth — tried baccarat and Crazy Time with real dealers and zero lag issues.

    Tbh the thing I wasn’t thrilled about was payout speed. Tried cashing out with Skrill and it took almost two days the first time. Second time around things sped up. They accept credit cards, Skrill, Neteller, and crypto so that covers most bases. You can look at what they’ve got going on on svnewtech to see for yourself.

    Mobile experience on Craybet on my phone was surprisingly good. There’s no app to download but the mobile site loads fast and everything works fine. Played Book of Dead on the bus and didn’t notice any problems.

    Customer service on Craybet is decent — live chat and someone actually responds in under five minutes usually. Reached out once about a pending withdrawal and they sorted it pretty quickly. Licensing is operating under a Curacao license and that’s typical of platforms like this. Wouldn’t say it’s perfect — wish they had more payment options — but as a daily player it does the job for me.

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Back To Top

鄂ICP备17008157号-1