fork download
  1. <?php
  2.  
  3. $pageId = '123-abc-def';
  4. $pageIdArr = [$pageId];
  5.  
  6. var_dump($pageIdArr);
Success #stdin #stdout 0.02s 25452KB
stdin
Standard input is empty
stdout
array(1) {
  [0]=>
  string(11) "123-abc-def"
}