php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "word blacklist"

What are the different methods in PHP to add a "#" symbol before a number in a string?

To add a "#" symbol before a number in a string in PHP, you can use regular expressions or string manipulation functions. One way is to use the preg_r...

How can "häufige Wörter" be effectively filtered out in a PHP search function?

When filtering out "häufige Wörter" (common words) in a PHP search function, you can create an array of common words and check if the search query con...

What potential issues may arise when using the ucfirst() function in PHP to capitalize the first letter of a string?

One potential issue that may arise when using the ucfirst() function in PHP is that it only capitalizes the first letter of a string, but it may not h...

Are there any best practices or alternative methods for formatting input data in PHP forms to ensure consistent capitalization?

To ensure consistent capitalization in input data in PHP forms, one common approach is to use a combination of PHP functions like ucwords() or ucfirst...

What are some best practices for efficiently truncating text in PHP?

When truncating text in PHP, it is important to consider the length of the text and how it will be displayed. One common approach is to limit the text...

Showing 831 to 835 of 876 results

‹ 1 2 ... 164 165 166 167 168 169 170 ... 175 176 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.