Unexpected $end Parse Error in PHP

16 points

Why am I receiving an unexpected $end parse error on the last line of my code?

Created by rabFloatreirl 45 weeks 5 days ago
  Tags:

Answer(s):

1 point

if you're experiencing this type of parse error, it is almost ALWAYS because of a missing closing brace or quote, making the script think it should still be running.

check your braces and quotes carefully, making sure you've closed every set you've opened.

Created by AbarieFar

Post your Answer

  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Links to specified hosts will have a rel="nofollow" added to them.

More information about formatting options