Monkuar Posted December 3, 2014 Share Posted December 3, 2014 No idea how to add a new line so it's easier to read in the terminal. Debugging this way is absolutely horrible. Link to comment https://forums.phpfreaks.com/topic/292865-php-command-line-interface-adding-breaks-readability-issue/ Share on other sites More sharing options...
kicken Posted December 3, 2014 Share Posted December 3, 2014 echo "\n"; or echo PHP_EOL; 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 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. 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
Archived
This topic is now archived and is closed to further replies.