Jennifer Zelazny

Random and Opinionated Thoughts

check php syntax errors before committing changes.

Hints Web Development
Posted by: Jennifer Zelazny | 1 Comment

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.

One thought on “check php syntax errors before committing changes.”

  1. bropayTrourdy

    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.
*
*

This site uses Akismet to reduce spam. Learn how your comment data is processed.