Skip to content

symfony Error - T_ENCAPSED_AND_WHITESPACE #4

Description

@StrongLucky

Hey nice project,

but i cant run it :( Maybee you can help.

  $TG = new TextGenerator();
  $TG->compile("#if{@val == 5|the value equals 5|the value doesn't equal 5}");
  echo $TG->generate(array("val"=>5));
Parse error: syntax error, unexpected ''/[a-zA-Z_\x7f-\xff][a-zA-Z0-9' (T_ENCAPSED_AND_WHITESPACE) in [...]/vendor/symfony/expression-language/Parser.php on line 328

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions