- while (ereg("<", $test) && ereg(">", $test)) {
- $check = strtolower(substr($test, strpos($test, "<") + 1, strpos($test, ">") - strpos($test, "<") - 1));
- $check = str_replace("/", "", $check);
+ while (ereg('<', $test) && ereg('>', $test)) {
+ $check = strtolower(substr($test, strpos($test, '<') + 1, strpos($test, '>') - strpos($test, '<') - 1));
+ $check = str_replace('/', '', $check);