Answer the question
In order to leave comments, you need to log in
PHP: how to find output line in command line?
Hello.
I run the php script from the console, and some empty line appears there. I can't find it manually, so I want to track it down.
Is it possible to make output like: "filepath: output" in php command line?
Answer the question
In order to leave comments, you need to log in
Somewhere in your php files you have a closing tag "?>" followed by a newline.
Get rid of the "?>" at the end of the files.
For Win7 it works like this
All output will be saved in the file out.txt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question