Jump to content
Larry Ullman's Book Forums

Chapter 13 - Eregi Shows Deprecated

Recommended Posts



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





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



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


Thanks for your help!


Loving the book!



Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.


  • Create New...