check php syntax errors before committing changes.

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.

About the Author...

Jennifer Zelazny

My name is Jennifer Zelazny and this site is a collection of my random thoughts and opinions. I am Penn Stater, WordPress developer, and a modern day explorer. I love exploring data, trends, and things that make the world a better place and sharing them here.

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.
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=""> <s> <strike> <strong>
*
*

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