syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in artisan

Posted 1 year ago by abdoelsayed2016

iam using PHP 7.0.27 (cli) (built: Jan 23 2018 09:07:32) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies

when build cron job that error appear Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in /path_to_project/artisan on line 31 X-Powered-By: PHP/5.3.29 Content-type: text/html

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.