Mảng Array mình có là :
Array
(
[status] => 200
[msg] => OK
[result] => Array
(
[folders] => Array
(
[0] => Array
(
[id] => 6694933
[name] => .subtitles
)
[1] => Array
(
[id] => 6694934
[name] => .videothumb
)
[2] => Array
(
[id] => 6694936
[name] => REMOTEUPLOAD
)
[3] => Array
(
[id] => 6697292
[name] => ProducersFun.18.10.13.Molly.Mae.A.Fucking.Conversation.XXX.1080p.MP4-KTR[rarbg]
)
[4] => Array
(
[id] => 6701888
[name] => The.Cocoanuts.1929.1080p.BluRay.H264.AAC-RARBG
)
[5] => Array
(
[id] => 6703497
[name] => Subs
)
[6] => Array
(
[id] => 6711914
[name] => Tanked.S15E09.Tracy.Morgans.Giant.Shark.Tank.Under.Construction.1080p.WEB.x264-CAFFEiNE[rarbg]
)
[7] => Array
(
[id] => 6712414
[name] => The.House.with.a.Clock.in.Its.Walls.2018.BRRip.XviD.MP3-XVID
)
[8] => Array
(
[id] => 6721222
[name] => Oxygen.1999.BRRip.XviD.MP3-XVID
)
[9] => Array
(
[id] => 6730100
[name] => back up
)
[10] => Array
(
[id] => 6730229
[name] => back up 2
)
[11] => Array
(
[id] => 6735808
[name] => Busy.Tonight.2018.12.19.Nicole.Byer.WEB.x264-TBS[rarbg]
)
[12] => Array
(
[id] => 6751638
[name] => Mythical.Beasts.S01E02.HDTV.x264-W4F[rarbg]
)
)
[files] => Array
(
[0] => Array
(
[name] => Andi.Mack.S03E07.WEBRip.x264-ION10.mp4
[cblock] =>
[sha1] => f02b1a0738e3fd73783b59d0daa1922534681ef1
[folderid] => 6694932
[upload_at] => 1545283265
[status] => active
[size] => 159248378
[content_type] => video/mp4
[download_count] => 0
[cstatus] => ok
[link] => https://openload.co/f/OOx6gKnxJ8A/Andi.Mack.S03E07.WEBRip.x264-ION10.mp4
[linkextid] => OOx6gKnxJ8A
)
[1] => Array
(
[name] => RARBG.txt
[cblock] =>
[sha1] => 2b2666a050fcf8e05899fe60311c707a4a8c333a
[folderid] => 6694932
[upload_at] => 1545283266
[status] => active
[size] => 30
[content_type] => text/plain
[download_count] => 0
[cstatus] => ok
[link] => https://openload.co/f/4o6gmMAGDJE/RARBG.txt
[linkextid] => 4o6gmMAGDJE
)
[2] => Array
(
[name] => 2_Eng.srt
[cblock] =>
[sha1] => 136ab0820ff87aa6052ea0350b0470ea649b5e3b
[folderid] => 6694932
[upload_at] => 1545283268
[status] => active
[size] => 33254
[content_type] => text/plain
[download_count] => 0
[cstatus] => ok
[link] => https://openload.co/f/I2lHsSoUI4A/2_Eng.srt
[linkextid] => I2lHsSoUI4A
)
[3] => Array
(
[name] => DuckTales.S02E05.WEBRip.x264-ION10.mp4
[cblock] =>
[sha1] => c173ee7dc4928de6a31552f321f0b59663215723
[folderid] => 6694932
[upload_at] => 1545283268
[status] => active
[size] => 183426224
[content_type] => video/mp4
[download_count] => 0
[cstatus] => error
[link] => https://openload.co/f/K3k_mgA48UQ/DuckTales.S02E05.WEBRip.x264-ION10.mp4
[linkextid] => K3k_mgA48UQ
)
Làm cách nào mình có thể tạo ra 1 mảng mới và lọc chỉ lấy những value trong [files] với điều kiện là [size]
= 10000
Cám ơn các bạn đã đọc hoặc giúp mình nhé .
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?