Thushan
Thushan

Reputation: 1340

PHP deprecated functions will make performance issues?

I have updated PHP version to 5.3 but My web application was developed based on PHP 4 so now I'm getting error warnings about some functions has deprecated eg: ereg.

My Question is, deprecated function will make performance issue?

Upvotes: 0

Views: 337

Answers (1)

Alex
Alex

Reputation: 4811

Nope, in case that the deprecated notices are turned off in php.ini

But the problem is not with speed. The existence of ereg function will not be guaranteed in the future versions of PHP.

So you should use another regular expression function (PCRE).

BTW, you should keep in mind that ereg and preg_match regular expressions syntax are not the same.

Upvotes: 1

Related Questions