Created
July 12, 2019 06:26
-
-
Save haxianhe/3e547845479748d5fc2258d929b3d5c0 to your computer and use it in GitHub Desktop.
php 过滤数组元素
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$abnormalOrderIds = array_filter($abnormalOrderIds, function ($item) use ($completeOrders) { | |
return !isset($completeOrders[$item['code']]); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment