Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Php

Idiom #134 Create a new list

Declare and initialize a new list items, containing 3 elements a, b, c.

$items = [$a, $b, $c];

$items will have $a, $b and $c in this order.
(def items (list a b c))

New implementation...