Interpolation in PHP
- http://www.php.net/manual/de/language.types.string.php#language.types.st... Variable parsing
- Interpolation von Funktionen mittels
{...}
$s="Datei {$this->name_config_ini()} loeschen"; -
echo "This is the value of the var named by the return value of getName(): {${getName()}}";
Was nicht funktioniert
-
echo "{Version::getVersion()}\n"; # weil kein $
Klassifikation
• Interpolation • PHP