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 -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -