Tell me, please, what is the error? 17 line. Thank you in advance!

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reasons:
You missed the semicolon in the 16th line.
function factorial($num){ $factorialIter = function($num, $acc) use (&$factorialIter){ ... }; return $factorialIter($num, 1); } PS For the future, if you ask people to spend their time, then be kind enough to spend your own and write code in text form.
Source: https://ru.stackoverflow.com/questions/581685/
All Articles