<?php $arr = explode('/', 'auth/signin.json'); $tail = end($arr); $dot = strpos($tail, '.'); var_dump($tail, $dot);
You have javascript disabled. You will not be able to edit any code.