fork download
  1. <?php
  2. $tab_nom = array();
  3. $objet='nom';
  4. ${'tab_'.$objet}[13] = 'trèfle';
  5. print_r($tab_nom);
Success #stdin #stdout 0.04s 25596KB
stdin
Standard input is empty
stdout
Array
(
    [13] => trèfle
)