Jump to content

ereg deprecated


Oziam

Recommended Posts

I believe preg_match() is the alternative but someone can correct me if i'm wrong.

http://www.php.net/manual/en/function.preg-match.php

 

Yes, if you need regular expressions.  I've seen ereg()/eregi() used many times when strpos() would work just as well.

Link to comment
https://forums.phpfreaks.com/topic/218140-ereg-deprecated/#findComment-1131954
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.