A
A
Alyosha2017-05-09 21:26:44
PHP
Alyosha, 2017-05-09 21:26:44

What is the line break character in google chrome console?

Is there a character that can be written in php so that it wraps the text in the google chrome console to a new line?
Those. adjax receives data that is output to the console, and that's where I need to split the lines.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Luzanov, 2017-05-09
@GIBRID21

\n

E
entermix, 2017-05-09
@entermix

PHP has a special predefined constant PHP_EOL
Why you should use PHP_EOLinstead of \n, \r, \r\n, <br/>see here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question