Getting a Parse error in my code - what am I missing? or Parse error: unexpected token - how do I fix

20 Replies, 1211 Views

Parse errors are like Where’s Waldo for devs. In your second example, the missing semicolon after `return` is the culprit.

If you’re on Linux, `grep -n "function foo" *.php` can help locate the file fast.

Messages In This Thread



Users browsing this thread: 1 Guest(s)