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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -