<?php $obj = new stdClass(); $obj->{"meu-nome"} = "Ivan Ferrer"; echo $obj->{"meu-nome"}; var_dump($obj); ?>
Standard input is empty
Ivan Ferrerobject(stdClass)#1 (1) { ["meu-nome"]=> string(11) "Ivan Ferrer" }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!