<?php $str = "foo.domain.com"; $m = "domain.com"; var_dump(substr_compare($str, $m, -strlen($m), strlen($m)));
You have javascript disabled. You will not be able to edit any code.