php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "preg"

How can regular expressions be used effectively in PHP to avoid deprecated functions?

To avoid using deprecated functions in PHP when working with regular expressions, it is recommended to use the `preg` functions instead of the older `...

How can PHP developers ensure compatibility with PHP 6 regarding the removal of ereg functions?

To ensure compatibility with PHP 6 regarding the removal of ereg functions, PHP developers can replace the ereg functions with the preg functions, whi...

What are the potential issues with using eregi functions in PHP and how can they be replaced with more modern alternatives?

The eregi functions in PHP are deprecated as of PHP 5.3.0 and removed in PHP 7. They were used for case-insensitive pattern matching but are now repla...

What are the key differences between ereg and preg_* functions in PHP for pattern matching?

The key difference between ereg and preg_* functions in PHP for pattern matching is that ereg functions are POSIX compliant and use a simpler regex sy...

What are some common issues when migrating a PHP script from PHP 4 to PHP 5.2.17 on a Microsoft-IIS/7.5 server?

Issue: One common issue when migrating a PHP script from PHP 4 to PHP 5.2.17 on a Microsoft-IIS/7.5 server is the deprecated usage of the "ereg" funct...

Showing 11 to 15 of 21 results

‹ 1 2 3 4 5 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.