I hate to ask such a specific question, but I\'m getting an error I can\'t figure out. This is in a cron job which runs on the hour. I\'m creating an array of tasks, each of
You are missing ';' on end of string evaluation. Eval function able to process statements or expressions.
Example:
$value = 7; eval("\$value+=2;"); echo $value;
eval only accepts statements, not expressions. You need to convert your tests with:
eval
if (eval("return $task[0];")) {