<?php $key = new stdClass(); $key->foo = "bar"; $arr = array( $key => "what's this?" ); print_r( $arr );
You have javascript disabled. You will not be able to edit any code.