php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "\r"

What is the difference between '\r\n' and "\r\n" in PHP and how does it affect text formatting?

In PHP, '\r\n' is a string with single quotes, treating the characters '\r' and '\n' as literal characters. On the other hand, "\r\n" is a string with...

What are the differences between \n, \r\n, and \r in PHP for creating line breaks?

When creating line breaks in PHP, \n represents a newline character, \r\n represents a carriage return followed by a newline character, and \r represe...

What are the differences between using "\r", "\n", and "\r\n" for line breaks in PHP?

When working with text in PHP, it's important to understand the differences between "\r", "\n", and "\r\n" for line breaks. "\r" represents a carriage...

What are the differences between "\n", "\r", and "\r\n" in PHP and how do they affect text formatting?

The differences between "\n", "\r", and "\r\n" lie in how they represent line breaks in text. "\n" represents a line feed, moving the cursor to the ne...

What are the differences between \n, \r, and \r\n when trying to create line breaks in PHP file writing operations?

When writing to a file in PHP, different operating systems use different characters to represent line breaks. \n represents a line feed (LF) character...

Showing 1 to 5 of 476 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 95 96 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.