For example, I have defined an array from 1 to 50 and I want to remove the ones that begin with 2 and 3. How to remove them?
For example, I have defined an array from 1 to 50 and I want to remove those that begin with 2 and 3. Eliminate
Use array_filter and loop to filter them out
The above is how to remove solid objects from PHP arrays. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!