php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "underscores"

How can the timezone ID be retrieved without underscores in PHP?

When retrieving the timezone ID in PHP, it often includes underscores between words (e.g., "America/New_York"). If you want to retrieve the timezone I...

What is the issue with setting cookies on subdomains with underscores in PHP?

Setting cookies on subdomains with underscores in PHP can cause issues because browsers treat underscores as invalid characters in domain names. To so...

What is the best method to convert spaces to underscores in PHP?

To convert spaces to underscores in PHP, you can use the str_replace() function to replace all spaces with underscores in a given string. This functio...

How do different coding standards in PHP recommend handling underscores in variable names?

Different coding standards in PHP recommend handling underscores in variable names by using snake_case or camelCase. Snake_case involves using undersc...

What rule does PHP follow when converting dots and spaces in variable names to underscores?

When converting dots and spaces in variable names to underscores in PHP, the rule followed is to replace dots and spaces with underscores. This is bec...

Showing 1 to 5 of 235 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 46 47 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.