php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "preg_match"

What is the issue with converting eregi to preg_match in PHP?

The issue with converting eregi to preg_match in PHP is that eregi is a case-insensitive version of preg_match, so simply replacing eregi with preg_ma...

What are the differences between using ereg and preg_match in PHP?

The main difference between ereg and preg_match in PHP is that ereg is a deprecated function while preg_match is the recommended and more powerful alt...

What are some common pitfalls when using preg_match and foreach in PHP?

One common pitfall when using preg_match and foreach in PHP is not checking if preg_match returns a valid result before using foreach on the matches....

What are the differences between eregi() and preg_match() in PHP, and why is eregi() deprecated?

The main differences between eregi() and preg_match() in PHP are that eregi() is case-insensitive while preg_match() is case-sensitive, and eregi() us...

How does preg_match() function work in PHP?

The preg_match() function in PHP is used to perform a regular expression match on a string. It returns true if a match is found, and false otherwise....

Showing 1 to 5 of 1665 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 332 333 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.