php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "formatted strings"

What are some best practices for handling currency-formatted numbers in PHP when sorting arrays?

When sorting arrays containing currency-formatted numbers in PHP, it's important to convert the currency strings to numbers for accurate sorting. One...

What are the potential pitfalls of trying to replace timestamps with formatted dates in a PHP array?

Replacing timestamps with formatted dates in a PHP array can lead to difficulties when sorting or comparing dates as strings. To avoid this issue, it'...

What is the correct way to concatenate strings in PHP?

When concatenating strings in PHP, you can use the "." operator to combine two or more strings together. This operator allows you to join strings seam...

In what scenarios would using UNIX timestamps be more beneficial than formatted time for time calculations in PHP?

Using UNIX timestamps can be more beneficial than formatted time for time calculations in PHP when performing calculations involving dates and times,...

How can you concatenate strings in PHP to properly format the message in the email?

When sending an email in PHP, you may need to concatenate strings to properly format the message. To concatenate strings in PHP, you can use the dot (...

Showing 11 to 15 of 8591 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1718 1719 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.