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

Posted 9 months 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.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.