Is there a way to use post/pre-increment (++i / i++) in PHP without using loops? -


for example

for($i=0; $i<100; $i++){     array_push($something, $i); } 

is there command without using loop?

edit: php example

no need loops increment/decrement in php, more details here: http://php.net/manual/en/language.operators.increment.php


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

python - GitPython: check if git is available -

c# - ASP.NET MVC Enumerable to delimited HTML in Razor -