<?php $a = array(); $a[null] = 'foo'; var_dump($a);
Standard input is empty
array(1) { [""]=> string(3) "foo" }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!