check php syntax errors before committing changes.

Posted by: Jen | 1 Comment »

Categorized: Hints, Web Development

I learned an important and valuable lesson today. Before committing code to a live server, always run: php – l filename.php to check for syntax errors if you cannot view the file beforehand. Enough said.

Tagged: , ,

One Response to “check php syntax errors before committing changes.”

  1. bropayTrourdy says:

    muozonldcdbyuulbwell, hi admin adn people nice forum indeed. how’s life? hope it’s introduce branch ;)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>