<?php $foo = 2; $x = [$foo => ($foo*2)]; print_r($x);
You have javascript disabled. You will not be able to edit any code.