I have an application that is now running on PHP 5.3 that was originally developed in a previous version. I receive an eror stating:
Function
ereg_replace()
is deprecated
referring to the following snippet:
<?php $summary = ereg_replace("<[^>]*>","", $item['item_description'])?>
What changes to the above snippet are required to use preg_replace()
?