You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue that is similar to what #516 (comment) reported: when I use a literal @ sign in a PHP expression, it is always parsed as a reference, e.g.:
<(new App\Email('foo@bar.baz'))>
and
<(new App\Email('foo\@bar.baz'))>
both result in trying to eval the following PHP code:
new App\Email('foo\$_instances['bar.baz')']
which produces a syntax error.
The only workaround I found is to replace @ with \x40 (in a double quoted string).
The text was updated successfully, but these errors were encountered:
I have an issue that is similar to what #516 (comment) reported: when I use a literal
@
sign in a PHP expression, it is always parsed as a reference, e.g.:<(new App\Email('foo@bar.baz'))>
and
<(new App\Email('foo\@bar.baz'))>
both result in trying to eval the following PHP code:
new App\Email('foo\$_instances['bar.baz')']
which produces a syntax error.
The only workaround I found is to replace
@
with\x40
(in a double quoted string).The text was updated successfully, but these errors were encountered: