Write the PHP expression that filters an array to only its even numbers.
You have a $numbers array and need only the even values for a report.
Ready to try it?
Create a free account and subscribe to take "Write an array_filter Expression for Even Numbers". Earn 90 XP and track your internship progress.
Already have an account? Sign in