Create an array of even numbers between 1 to 10 using a single function?

At least specify the php method

Train Asked on December 2, 2015 in PHP.
Add Comment
  • 1 Answer(s)
    range(2, 10, 2);
    Train Answered on December 2, 2015.
    Add Comment

    Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.