php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "numerical values"

What are the potential drawbacks of using leading zeros in numerical values in PHP?

Using leading zeros in numerical values in PHP can cause unexpected behavior when performing mathematical operations or comparisons. This is because P...

Are there any specific functions or methods in PHP that are recommended for adding numerical values together?

When adding numerical values together in PHP, the most commonly used method is to simply use the addition operator (+). This operator can be used to a...

How can one properly format numerical values retrieved from a database in PHP using mysqli?

When retrieving numerical values from a database using mysqli in PHP, it's important to properly format these values before displaying them to the use...

What are some potential pitfalls when sorting arrays in PHP based on numerical values?

One potential pitfall when sorting arrays in PHP based on numerical values is that the default sorting functions may treat the values as strings rathe...

How can PHP be used to efficiently sort an array based on both numerical values and specific word occurrences in a field?

To efficiently sort an array based on both numerical values and specific word occurrences in a field, you can use the `usort` function in PHP. This fu...

Showing 36 to 40 of 10000 results

‹ 1 2 ... 5 6 7 8 9 10 11 ... 1999 2000 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.