<?php echo str_replace(array('../','./'), '', 'derp/../derp/./derp');
You have javascript disabled. You will not be able to edit any code.