Created
April 13, 2018 09:01
-
-
Save kkreft/390ebe75ecaca45ce6f1fc9a4df407c0 to your computer and use it in GitHub Desktop.
Filtering numerics in array
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
$ids = array_filter($ids, 'is_numeric'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment