Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
Gardacus

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...