Hi,
Does anyone know the correct syntax to interpolate a class variable, $x
say, inside a string? I tried
"{self::$x} "
but it produces the string
{self::x}
August
Does anyone know the correct syntax to interpolate a class variable, $x
say, inside a string? I tried
"{self::$x} "
but it produces the string
{self::x}
August
Comment