hi,
$this->subheader[0]['data']= "$hallo";
IMO ist hier der Fehler, es müsste:
$this->subheader[0]['data']= $hallo;
heissen.Falsch! Normale Variablen werden in Strings einfach eingesetzt nur wenn man die escaped ned!
einigen wir uns also darauf, dass beide obigen notationen das gleiche bewirken werden - der wert, der _in_ $hallo steht, wird zugewiesen.
der OP behauptet jedoch, er hab $hallo als literal in seiner variablen stehen - das ist aber bei beiden notationen _nicht_ der fall.
gruß,
wahsaga
--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."