Monkuar Posted December 3, 2014 Share Posted December 3, 2014 (edited) No idea how to add a new line so it's easier to read in the terminal. Debugging this way is absolutely horrible. Edited December 3, 2014 by Monkuar Quote Link to comment https://forums.phpfreaks.com/topic/292865-php-command-line-interface-adding-breaks-readability-issue/ Share on other sites More sharing options...
Solution kicken Posted December 3, 2014 Solution Share Posted December 3, 2014 echo "\n"; or echo PHP_EOL; 1 Quote Link to comment https://forums.phpfreaks.com/topic/292865-php-command-line-interface-adding-breaks-readability-issue/#findComment-1498363 Share on other sites More sharing options...
Monkuar Posted December 3, 2014 Author Share Posted December 3, 2014 (edited) echo "\n"; or echo PHP_EOL; These work inside the terminal great! Thank you sir! Edit: I'm curious if there is an easier way to debug php in the terminal. I have to go back, CTRL+C to stop the script, move the arrow key up, then press enter. It's a tedious and very annoying process. Edited December 3, 2014 by Monkuar Quote Link to comment https://forums.phpfreaks.com/topic/292865-php-command-line-interface-adding-breaks-readability-issue/#findComment-1498365 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.