php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "DOUBLE"

What does the warning "number_format() expects parameter 1 to be double, string given" indicate in PHP?

The warning "number_format() expects parameter 1 to be double, string given" indicates that the function number_format() is expecting a double data ty...

What are the advantages and disadvantages of using single and double quotes in PHP and HTML?

When writing PHP code within HTML, it is important to understand the difference between single and double quotes. Single quotes are used to define str...

How can a string variable be converted into a double in PHP?

To convert a string variable into a double in PHP, you can use the built-in function `floatval()`. This function will parse the string and return a fl...

What is the difference between using single quotes ('') and double quotes ("") in PHP?

In PHP, single quotes ('') and double quotes ("") are used to define strings. The main difference between the two is that double quotes allow for the...

What is the significance of using single quotes or escaping double quotes in PHP string declarations?

When declaring strings in PHP, using single quotes or escaping double quotes can be significant when dealing with special characters or variables with...

Showing 26 to 30 of 2633 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 526 527 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.