Function syntax issues
phpcn_u60427
phpcn_u60427 2017-12-05 19:11:51
0
2
1259

echo '4. Use function to create a self-executing function: <br>';

echo (function ($a,$b){

return $a.' ' .$b.'='.($a $b);

})(20,30);

How to display Parse error: syntax error, unexpected ';' in


phpcn_u60427
phpcn_u60427

reply all(1)
ringa_lee

Versions below php 7 do not support this writing method. You can try changing to php7 and it can be output! !

  • reply Okay, thank you
    phpcn_u60427 author 2017-12-05 20:51:52
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template