Jump to content
Larry Ullman's Book Forums

Chapter 13 - Eregi Shows Deprecated


Recommended Posts

Hello!

 

I am almost at the end of the book, and after building and testing script 13.1 test_pattern.php, I get the following screen result, including error.

The result of checking

 

against

 

is

Deprecated: Function eregi() is deprecated in D:\xampp\htdocs\php-course\chapter_13\test_pattern.php on line 24

 

Warning: eregi() [function.eregi]: REG_EMPTY in D:\xampp\htdocs\php-course\chapter_13\test_pattern.php on line 24

FALSE!

 

How can I work around this to continue testing this chapter?

 

Thanks for your help!

 

Loving the book!

 

Mike

Link to comment
Share on other sites

 Share

×
×
  • Create New...