<?php echo (int)substr("123412123", -3, 3);
You have javascript disabled. You will not be able to edit any code.