Tag Archives: php

Read & Display Single Line of a File

devnet 8 Replies

Sometimes when I’m troubleshooting a PHP error and a function is called in the debugger that gives me a line number of a file to look at, I want to know what that line says without opening up the file.  Using the command line, you can accomplish this in the following way: head -n 96 […]

Continue reading