php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "word blacklist"

What is the difference between using ^ and $ in regular expressions to mark the beginning and end of a string in PHP?

Using ^ in a regular expression in PHP marks the beginning of a string, while using $ marks the end of a string. This is useful when you want to match...

What are some best practices for outputting shortened text in HTML format using PHP?

When outputting shortened text in HTML format using PHP, it is important to ensure that the text is properly truncated without cutting off in the midd...

What are potential pitfalls when trying to check for specific words on a webpage using PHP?

When trying to check for specific words on a webpage using PHP, one potential pitfall is not taking into account case sensitivity. If the search is ca...

How can PHP be used to search for specific words that are predefined in a list, such as a list of banned words?

To search for specific predefined words, such as a list of banned words, in PHP, you can use the `strpos()` function to check if the input string cont...

What are some best practices for using regular expressions in PHP to avoid cutting out unintended parts of text?

When using regular expressions in PHP, it's important to be specific in your pattern matching to avoid unintentionally cutting out parts of text. One...

Showing 851 to 855 of 876 results

‹ 1 2 ... 167 168 169 170 171 172 173 174 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.