1. Home
  2. Php
  3. Push to array
#php

Push a new item or items at the end of an array.

array_push($awesome_array, "new item");
copy
Full Php cheatsheet
Sitemap Git repository