range PHP method

It is possible to create a list of numbers in PHP using range method. range method takes three arguments, These are beginning number, ending number, and step. Step can be negative to indicate that this sequence must decrease. Step is optional argument, by default value of a range is equal to one. The return of this method is an array of numbers.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator