<?php$tab_nom = array();$objet='nom';${'tab_'.$objet}[13] = 'trèfle';print_r($tab_nom);
Standard input is empty
Array ( [13] => trèfle )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!