<?php $foo = 'charanjeet/working/with/php'; echo strrpos($foo, '/', -5); //Answer: 18
You have javascript disabled. You will not be able to edit any code.