php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "number matching"

Why is it recommended to use preg_match() instead of ereg() for regular expression matching in PHP?

Using preg_match() is recommended over ereg() for regular expression matching in PHP because preg_match() is faster and more efficient. ereg() is depr...

How can the greedy behavior of regular expressions in PHP be modified to ensure non-greedy matching for more accurate replacements?

Regular expressions in PHP are greedy by default, meaning they will match as much as possible. To ensure non-greedy matching for more accurate replace...

In PHP, what is the return value when a query does not find any matching results in the database?

When a query does not find any matching results in the database, the return value is typically an empty result set. To handle this situation in PHP, y...

What are some potential pitfalls of using eregi in PHP for case-insensitive string matching?

Using eregi in PHP for case-insensitive string matching is deprecated as of PHP 5.3.0 and removed in PHP 7. Instead, it is recommended to use the preg...

What potential issues or vulnerabilities can arise from using ereg() function in PHP for string matching?

Using the ereg() function in PHP for string matching can lead to vulnerabilities such as deprecated functionality, potential security risks, and compa...

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.