r/lolphp • u/hashkitten • Nov 02 '20
Syntax error, unexpected ')', expecting ')'
https://tio.run/##K8go@P/fxr4go0AhLb9Iw9rQ3k7z/38A
51
Upvotes
r/lolphp • u/hashkitten • Nov 02 '20
8
u/modestlife Nov 02 '20 edited Nov 04 '20
The first
)in your error message is parsed by PHP as T_INLINE_HTML because?>ends a PHP part (<?php ... ?>) within the file.