Skip to content

echo $foo; Not Valid #13

@craigr-wlp

Description

@craigr-wlp

The following does not validate:

$foo = 'abc';
echo $foo;

I have to use this workaround:

$foo = 'abc';
echo '' . $foo;

Is this by design?

On a side note, this also does not validate, which is the translation gettext function:

$foo = 'abc';
echo _($foo);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions