What you need (not recommended):
$info = array("$id",'Example'); // variable interpolation happens in ""
or simply
$info = array($id,'Example');
You included the variable inside single quotes, and inside the single quotes the interpolation variable does not occur, but is '$id'considered as a string of length three, where the first character is the dollar.
source
share