Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

echo('foo', 'bar') throws syntax error #55

Open
adamjimenez opened this issue Aug 21, 2014 · 2 comments
Open

echo('foo', 'bar') throws syntax error #55

adamjimenez opened this issue Aug 21, 2014 · 2 comments

Comments

@adamjimenez
Copy link
Contributor

echo with multiple parameters causes a syntax error

echo('foo', 'bar');

Syntax error, unexpected ','

@baconbrad
Copy link

This is exactly how PHP handles an echo with multiple parameters.

@adamjimenez
Copy link
Contributor Author

I think it's a PHP7 thing.
The manual states:
void echo ( string $arg1 [, string $... ] )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants