PHP Parse error: syntax error, unexpected '$value' (T_VARIABLE)

PHP Parse error:  syntax error, unexpected '$value' (T_VARIABLE)

If you are getting this error for specific php keywords used in code like yield, you need to upgrade your php version. May be you have php 5.4 or lower version, upgrade it to php 5.5 or php 5.6 or higher.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...