Would this code mess the tracker up?

PHP Code:
<?php function page()
{
$page substr(strrchr($_SERVER['PHP_SELF'],'/'),1,-1);
return 
$page;
}
?>