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
This one throws (SyntaxError: Parse Error : syntax error, expecting T_END_HEREDOC on line 4)
<?phpecho<<<EOSEOS. "";
This does not.
<?phpecho<<<EOSEOS . "";
Both are valid PHP code, with the same net effect. Though, the examples are basically as minimal as can be, to the point it would be nonsensical in real code. Replace "" with a variable and add some meat to heredoc, then you get something reasonable. Like something you might get in a test, like where I found this.