Php5.3 scrap function summary

  • 2020-03-31 20:44:46
  • OfStack

The abandoned functions in php5.3 are:

Ereg (); // is directly replaced by mb_ereg or preg_match, but the matching rules need to be included with /
Eregi (); / / preg_match instead, plus I, after the rules such as: preg_match (" / ^ (style | style_) * / I "(. *), $file).
Ereg_replace ();
Set_magic_quotes_runtime ();
The split ();
Mysql_close (); // will not support all close, need to be changed to :mysql_close($link);

Related articles: