Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


function ereg replace is deprecated how to clear this bug


function ereg replace is deprecated how to clear this bug  using -'php,deprecated,ereg'

I have written following PHP code:

$input="menu=1&type=0&";

print $input."<hr>".ereg_replace('/&/', ':::', $input);


After running above code, it gives following warning,


  Deprecated: Function ereg_replace() is deprecated


How can I resolve this warning.
    

asked Sep 14, 2015 by DewayneEEYsk
0 votes
8 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...